MacOS 安装 ElasticsearchKibana

Posted 程序员小康

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MacOS 安装 ElasticsearchKibana相关的知识,希望对你有一定的参考价值。

电脑版本:


jdk版本:

MacdeMacBook-Pro:~ mac$ java -versionjava version "1.8.0_231"Java(TM) SE Runtime Environment (build 1.8.0_231-b11)Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)


当前 elasticsearch 的最新版本为 7.7.0,我们这次安装的版本是 7.5.2。


  • https://www.elastic.co/cn/downloads/

  • elasticsearch 7.5.2:

    https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.2-darwin-x86_64.tar.gz

  • kibana 7.5.2:

    https://artifacts.elastic.co/downloads/kibana/kibana-7.5.2-darwin-x86_64.tar.gz


最好是通过迅雷等工具下载,要不然你们懂的...


下载完成后解压并将文件移动到 /usr/local/opt/ 目录下

# 打开终端MacdeMacBook-Pro:~ mac$ cd /usr/local/opt/MacdeMacBook-Pro:opt mac$ lselasticsearch-7.5.2 kibana-7.5.2 logstash-7.5.2 erlang erlang@22 rabbitmq autoconf openssl autoconf@2.69 openssl@1.1...


启动 elasticsearch,首次我们在前台启动。

# elasticsearch暂时不修改任何配置,先前台启动MacdeMacBook-Pro:opt mac$ cd elasticsearch-7.5.2/MacdeMacBook-Pro:elasticsearch-7.5.2 mac$ bin/elasticsearch
# 下面是一些启动信息,我这不是首次启动,信息可能和你会有不同# 这条警告暂时先不管OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[2020-05-18T17:18:30,042][INFO ][o.e.e.NodeEnvironment ] [MacdeMacBook-Pro.local] using [1] data paths, mounts [[/ (/dev/disk0s2)]], net usable_space [187.3gb], net total_space [232.9gb], types [hfs][2020-05-18T17:18:30,046][INFO ][o.e.e.NodeEnvironment ] [MacdeMacBook-Pro.local] heap size [990.7mb], compressed ordinary object pointers [true][2020-05-18T17:18:30,063][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] node name [MacdeMacBook-Pro.local], node ID [7u7joAT-RSKtkFTxqjGmDw], cluster name [elasticsearch][2020-05-18T17:18:30,063][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] version[7.5.2], pid[90770], build[default/tar/8bec50e1e0ad29dad5653712cf3bb580cd1afcdf/2020-01-15T12:11:52.313576Z], OS[Mac OS X/10.14.6/x86_64], JVM[AdoptOpenJDK/OpenJDK 64-Bit Server VM/13.0.1/13.0.1+9][2020-05-18T17:18:30,064][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] JVM home [/usr/local/opt/elasticsearch-7.5.2/jdk.app/Contents/Home][2020-05-18T17:18:30,065][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.locale.providers=COMPAT, -Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Djava.io.tmpdir=/var/folders/qn/0y2jrchd39zg39gh33046g_80000gn/T/elasticsearch-16053072276776648887, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -XX:MaxDirectMemorySize=536870912, -Des.path.home=/usr/local/opt/elasticsearch-7.5.2, -Des.path.conf=/usr/local/opt/elasticsearch-7.5.2/config, -Des.distribution.flavor=default, -Des.distribution.type=tar, -Des.bundled_jdk=true][2020-05-18T17:18:32,967][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [aggs-matrix-stats][2020-05-18T17:18:32,968][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [analysis-common][2020-05-18T17:18:32,968][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [flattened][2020-05-18T17:18:32,968][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [frozen-indices][2020-05-18T17:18:32,969][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [ingest-common][2020-05-18T17:18:32,969][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [ingest-geoip][2020-05-18T17:18:32,969][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [ingest-user-agent][2020-05-18T17:18:32,970][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [lang-expression][2020-05-18T17:18:32,970][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [lang-mustache][2020-05-18T17:18:32,971][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [lang-painless][2020-05-18T17:18:32,971][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [mapper-extras][2020-05-18T17:18:32,971][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [parent-join][2020-05-18T17:18:32,972][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [percolator][2020-05-18T17:18:32,972][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [rank-eval][2020-05-18T17:18:32,972][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [reindex][2020-05-18T17:18:32,973][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [repository-url][2020-05-18T17:18:32,973][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [search-business-rules][2020-05-18T17:18:32,973][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [spatial][2020-05-18T17:18:32,974][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [transform][2020-05-18T17:18:32,974][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [transport-netty4][2020-05-18T17:18:32,975][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [vectors][2020-05-18T17:18:32,975][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-analytics][2020-05-18T17:18:32,975][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-ccr][2020-05-18T17:18:32,976][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-core][2020-05-18T17:18:32,976][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-deprecation][2020-05-18T17:18:32,977][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-enrich][2020-05-18T17:18:32,977][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-graph][2020-05-18T17:18:32,978][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-ilm][2020-05-18T17:18:32,978][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-logstash][2020-05-18T17:18:32,978][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-ml][2020-05-18T17:18:32,979][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-monitoring][2020-05-18T17:18:32,979][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-rollup][2020-05-18T17:18:32,980][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-security][2020-05-18T17:18:32,980][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-sql][2020-05-18T17:18:32,980][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-voting-only-node][2020-05-18T17:18:32,981][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] loaded module [x-pack-watcher][2020-05-18T17:18:32,981][INFO ][o.e.p.PluginsService ] [MacdeMacBook-Pro.local] no plugins loaded[2020-05-18T17:18:37,898][INFO ][o.e.x.s.a.s.FileRolesStore] [MacdeMacBook-Pro.local] parsed [0] roles from file [/usr/local/opt/elasticsearch-7.5.2/config/roles.yml][2020-05-18T17:18:38,538][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [MacdeMacBook-Pro.local] [controller/90809] [Main.cc@110] controller (64 bit): Version 7.5.2 (Build 68f6981dfb8e2d) Copyright (c) 2020 Elasticsearch BV[2020-05-18T17:18:39,286][DEBUG][o.e.a.ActionModule ] [MacdeMacBook-Pro.local] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security[2020-05-18T17:18:39,460][INFO ][o.e.d.DiscoveryModule ] [MacdeMacBook-Pro.local] using discovery type [zen] and seed hosts providers [settings][2020-05-18T17:18:40,588][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] initialized[2020-05-18T17:18:40,589][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] starting ...[2020-05-18T17:18:45,787][INFO ][o.e.t.TransportService ] [MacdeMacBook-Pro.local] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}[2020-05-18T17:18:46,055][WARN ][o.e.b.BootstrapChecks ] [MacdeMacBook-Pro.local] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured[2020-05-18T17:18:46,056][INFO ][o.e.c.c.Coordinator ] [MacdeMacBook-Pro.local] cluster UUID [RUTCcakCQ-6jeS9uSmHrHw][2020-05-18T17:18:46,069][INFO ][o.e.c.c.ClusterBootstrapService] [MacdeMacBook-Pro.local] no discovery configuration found, will perform best-effort cluster bootstrapping after [3s] unless existing master is discovered[2020-05-18T17:18:46,192][INFO ][o.e.c.s.MasterService ] [MacdeMacBook-Pro.local] elected-as-master ([1] nodes joined)[{MacdeMacBook-Pro.local}{7u7joAT-RSKtkFTxqjGmDw}{g3lYbdDVStus_VetzcxYKQ}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine_memory=8589934592, xpack.installed=true, ml.max_open_jobs=20} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 2, version: 30, delta: master node changed {previous [], current [{MacdeMacBook-Pro.local}{7u7joAT-RSKtkFTxqjGmDw}{g3lYbdDVStus_VetzcxYKQ}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine_memory=8589934592, xpack.installed=true, ml.max_open_jobs=20}]}[2020-05-18T17:18:46,360][INFO ][o.e.c.s.ClusterApplierService] [MacdeMacBook-Pro.local] master node changed {previous [], current [{MacdeMacBook-Pro.local}{7u7joAT-RSKtkFTxqjGmDw}{g3lYbdDVStus_VetzcxYKQ}{127.0.0.1}{127.0.0.1:9300}{dilm}{ml.machine_memory=8589934592, xpack.installed=true, ml.max_open_jobs=20}]}, term: 2, version: 30, reason: Publication{term=2, version=30}[2020-05-18T17:18:46,407][INFO ][o.e.h.AbstractHttpServerTransport] [MacdeMacBook-Pro.local] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}[2020-05-18T17:18:46,408][INFO ][o.e.n.Node ] [MacdeMacBook-Pro.local] started[2020-05-18T17:18:46,713][INFO ][o.e.l.LicenseService ] [MacdeMacBook-Pro.local] license [b4fd419f-d221-4ff3-a7ec-9198dc74135c] mode [basic] - valid[2020-05-18T17:18:46,714][INFO ][o.e.x.s.s.SecurityStatusChangeListener] [MacdeMacBook-Pro.local] Active license is now [BASIC]; Security is disabled[2020-05-18T17:18:46,725][INFO ][o.e.g.GatewayService ] [MacdeMacBook-Pro.local] recovered [3] indices into cluster_state[2020-05-18T17:18:47,380][INFO ][o.e.c.r.a.AllocationService] [MacdeMacBook-Pro.local] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.kibana_task_manager_1][0], [.kibana_1][0]]]).


打开浏览器并访问 http://localhost:9200/。


下面我们重新打开一个终端。

# kibana我们先只修改一个配置 - 中文汉化MacdeMacBook-Pro:~ mac$ cd /usr/local/opt/kibana-7.5.2/configMacdeMacBook-Pro:config mac$ vi kibana.yml i18n.locale: "zh-CN"


保存配置并退出,启动kibana,首次我们在前台启动

MacdeMacBook-Pro:config mac$ cd ../MacdeMacBook-Pro:kibana-7.5.2 mac$ bin/kibana
# 下面是一些启动信息,我这不是首次启动,信息可能和你会有不同# 警告信息暂时先不管 log [09:26:41.355] [info][plugins-system] Setting up [15] plugins: [security,licensing,code,timelion,features,spaces,translations,uiActions,newsfeed,expressions,inspector,embeddable,advancedUiActions,data,eui_utils] log [09:26:41.363] [info][plugins][security] Setting up plugin log [09:26:41.365] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml log [09:26:41.365] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended. log [09:26:41.374] [info][licensing][plugins] Setting up plugin log [09:26:41.377] [info][code][plugins] Setting up plugin log [09:26:41.378] [info][plugins][timelion] Setting up plugin log [09:26:41.379] [info][features][plugins] Setting up plugin log [09:26:41.380] [info][plugins][spaces] Setting up plugin log [09:26:41.384] [info][plugins][translations] Setting up plugin log [09:26:41.385] [info][data][plugins] Setting up plugin log [09:26:46.197] [warning][legacy-plugins] Skipping non-plugin directory at /usr/local/opt/kibana-7.5.2/src/legacy/core_plugins/visualizations log [09:26:46.883] [info][plugins-system] Starting [8] plugins: [security,licensing,code,timelion,features,spaces,translations,data] log [09:26:46.898] [info][licensing][plugins] Imported changed license information from Elasticsearch for the [data] cluster: type: basic | status: active log [09:26:49.350] [info][status][plugin:kibana@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.355] [info][status][plugin:elasticsearch@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.357] [info][status][plugin:xpack_main@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.368] [info][status][plugin:graph@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.379] [info][status][plugin:monitoring@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.387] [info][status][plugin:spaces@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.422] [info][status][plugin:security@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.423] [info][status][plugin:searchprofiler@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.427] [info][status][plugin:ml@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.490] [info][status][plugin:tilemap@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.492] [info][status][plugin:watcher@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.506] [info][status][plugin:grokdebugger@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.512] [info][status][plugin:dashboard_mode@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.514] [info][status][plugin:logstash@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.521] [info][status][plugin:beats_management@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.543] [info][status][plugin:apm_oss@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.575] [info][status][plugin:apm@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.580] [info][status][plugin:interpreter@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.583] [info][status][plugin:expressions@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.588] [info][status][plugin:maps@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.612] [info][status][plugin:canvas@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.619] [info][status][plugin:license_management@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.622] [info][status][plugin:cloud@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.626] [info][status][plugin:index_management@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.660] [info][status][plugin:console@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.663] [info][status][plugin:console_extensions@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.665] [info][status][plugin:index_lifecycle_management@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.678] [info][status][plugin:kuery_autocomplete@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.681] [info][status][plugin:metrics@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.716] [info][status][plugin:infra@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.719] [info][task_manager] Initialising Task Manager with UUID: f71ff3a7-12e0-4c2f-8c9c-e82e76c21aaf log [09:26:49.720] [info][status][plugin:task_manager@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.723] [info][status][plugin:rollup@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.742] [info][status][plugin:transform@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.744] [info][siem] Plugin initializing log [09:26:49.777] [info][siem] Plugin done initializing log [09:26:49.778] [info][status][plugin:siem@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.783] [info][status][plugin:remote_clusters@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.786] [info][status][plugin:cross_cluster_replication@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.806] [info][status][plugin:upgrade_assistant@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.829] [info][status][plugin:uptime@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.832] [info][status][plugin:oss_telemetry@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.836] [info][status][plugin:file_upload@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.846] [warning][encrypted_saved_objects] Generating a random key for xpack.encrypted_saved_objects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encrypted_saved_objects.encryptionKey in kibana.yml log [09:26:49.846] [info][status][plugin:encrypted_saved_objects@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.848] [info][status][plugin:data@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.854] [info][status][plugin:lens@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.873] [info][status][plugin:snapshot_restore@7.5.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [09:26:49.880] [info][status][plugin:kibana_react@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.882] [info][status][plugin:navigation@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.888] [info][status][plugin:region_map@7.5.2] Status changed from uninitialized to green - Ready log [09:26:49.896] [info][status][plugin:telemetry@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.004] [info][status][plugin:timelion@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.007] [info][status][plugin:ui_metric@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.009] [info][status][plugin:markdown_vis@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.011] [info][status][plugin:metric_vis@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.013] [info][status][plugin:table_vis@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.014] [info][status][plugin:tagcloud@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.016] [info][status][plugin:vega@7.5.2] Status changed from uninitialized to green - Ready log [09:26:50.460] [info][status][plugin:elasticsearch@7.5.2] Status changed from yellow to green - Ready log [09:26:50.494] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active log [09:26:50.503] [info][status][plugin:xpack_main@7.5.2] Status changed from yellow to green - Ready log [09:26:50.504] [info][status][plugin:graph@7.5.2] Status changed from yellow to green - Ready log [09:26:50.507] [info][status][plugin:searchprofiler@7.5.2] Status changed from yellow to green - Ready log [09:26:50.507] [info][status][plugin:ml@7.5.2] Status changed from yellow to green - Ready log [09:26:50.508] [info][status][plugin:tilemap@7.5.2] Status changed from yellow to green - Ready log [09:26:50.509] [info][status][plugin:watcher@7.5.2] Status changed from yellow to green - Ready log [09:26:50.509] [info][status][plugin:grokdebugger@7.5.2] Status changed from yellow to green - Ready log [09:26:50.510] [info][status][plugin:logstash@7.5.2] Status changed from yellow to green - Ready log [09:26:50.511] [info][status][plugin:beats_management@7.5.2] Status changed from yellow to green - Ready log [09:26:50.512] [info][status][plugin:index_management@7.5.2] Status changed from yellow to green - Ready log [09:26:50.512] [info][status][plugin:index_lifecycle_management@7.5.2] Status changed from yellow to green - Ready log [09:26:50.513] [info][status][plugin:rollup@7.5.2] Status changed from yellow to green - Ready log [09:26:50.513] [info][status][plugin:transform@7.5.2] Status changed from yellow to green - Ready log [09:26:50.514] [info][status][plugin:remote_clusters@7.5.2] Status changed from yellow to green - Ready log [09:26:50.515] [info][status][plugin:cross_cluster_replication@7.5.2] Status changed from yellow to green - Ready log [09:26:50.515] [info][status][plugin:file_upload@7.5.2] Status changed from yellow to green - Ready log [09:26:50.516] [info][status][plugin:snapshot_restore@7.5.2] Status changed from yellow to green - Ready log [09:26:50.517] [info][kibana-monitoring][monitoring] Starting monitoring stats collection log [09:26:50.571] [info][status][plugin:maps@7.5.2] Status changed from yellow to green - Ready log [09:26:50.697] [info][status][plugin:spaces@7.5.2] Status changed from yellow to green - Ready log [09:26:51.204] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml log [09:26:51.212] [info][status][plugin:reporting@7.5.2] Status changed from uninitialized to green - Ready log [09:26:51.278] [info][listening] Server running at http://localhost:5601 log [09:26:51.555] [info][server][Kibana][http] http server running at http://localhost:5601


打开浏览器,访问 http://localhost:5601/。
我不是首次访问,首次访问的第一个界面会提示两个选项:导入elasticsearch提供的测试数据或者使用自己的,我选择了使用自己的。



前台退出 elasticsearch 和 kibana 使用 control+C


后面我们会安装 Logstash 并配置 jdbc 同步数据。

以上是关于MacOS 安装 ElasticsearchKibana的主要内容,如果未能解决你的问题,请参考以下文章

虚拟机安装的macos能升级吗 虚拟机安装的macos升级的方法

vmware虚拟机安装macos系统?vmware虚拟机安装macos系统教程

如何通过 macOS 恢复功能重新安装 macOS

教你如何创建可引导的 macOS 安装器

安装vmware workstation,要安装一个macOS的系统,但上面没有macOS的选项。

macos high sierra怎么安装