TranslateProject/published/20190717 How to install Kibana on MacOS.md
Martin♡Adele 38dd7895dd
Merge (#3)
* PART

* TSL

PART 2

* 完成翻译 (╯°Д°)╯ ┻━┻

* translated by hopefully2333

translated by hopefully2333

* 申领原文

* Update 20190715 What is POSIX- Richard Stallman explains.md

* 提交译文:20190710 Test 200- Linux And Unix Operating Systems Online For Free

* 提交译文:20190710 Test 200- Linux And Unix Operating Systems Online For Free

* TSL

初译

* TSL:20190708 10 ways to get started with Linux

* APL:20190714 Excellent- Ubuntu LTS Users Will Now Get the Latest Nvidia Driver Updates -No PPA Needed Anymore

* TSL&PRF:20190714 Excellent- Ubuntu LTS Users Will Now Get the Latest Nvidia Driver Updates -No PPA Needed Anymore.md

* PUB

@wxy https://linux.cn/article-11110-1.html

* 选题: 20190716 Security scanning your DevOps pipeline

sources/tech/20190716 Security scanning your DevOps pipeline.md

* 选题: 20190716 Save and load Python data with JSON

sources/tech/20190716 Save and load Python data with JSON.md

* 选题: 20190716 Become a lifelong learner and succeed at work

sources/tech/20190716 Become a lifelong learner and succeed at work.md

* Translated

* translated

* translating

* 提交翻译

* 提交翻译

* update

* heguangzhi  is  translating

* PRF

@vizv

* heguangzhi translated

* leemeans translating

leemeans translating 7 deadly sins of documentation

* PRF

@vizv

* PUB

@vizv https://linux.cn/article-11113-1.html

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11115-1.html

* PRF

@0x996 翻译的不错!恭喜你,完成了第一篇翻译!

* PRF

@WangYueScream 这篇翻译的很好呀

* PUB

@WangYueScream https://linux.cn/article-11116-1.html

* 选题: 20190717 Bond WiFi and Ethernet for easier networking mobility

sources/tech/20190717 Bond WiFi and Ethernet for easier networking mobility.md

* 选题: 20190718 Epic Games Backs Blender Foundation with $1.2m Epic MegaGrants

sources/tech/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* 选题: 20190717 Start tinkering with the Circuit Playground Express

sources/tech/20190717 Start tinkering with the Circuit Playground Express.md

* 选题: 20190717 Get going with EtherCalc, a web-based alternative to Google Sheets

sources/tech/20190717 Get going with EtherCalc, a web-based alternative to Google Sheets.md

* 选题: 20190717 How to install Kibana on MacOS

sources/tech/20190717 How to install Kibana on MacOS.md

* 选题: 20190717 Public internet should be all software-defined

sources/talk/20190717 Public internet should be all software-defined.md

* 选题: 20190717 How edge computing is driving a new era of CDN

sources/talk/20190717 How edge computing is driving a new era of CDN.md

* 选题: 20190717 Mastering user groups on Linux

sources/tech/20190717 Mastering user groups on Linux.md

* 选题: 20190717 MPLS is hanging on in this SD-WAN world

sources/talk/20190717 MPLS is hanging on in this SD-WAN world.md

* 选题: 20190716 Server hardware makers shift production out of China

sources/talk/20190716 Server hardware makers shift production out of China.md

* translated

* translating

* PUB

@0x996 本文首发地址: https://linux.cn/article-11118-1.html
您的 LCTT 专页地址: https://linux.cn/lctt/0x996
请注册领取 LCCN: https://lctt.linux.cn/

* Rename sources/tech/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md to sources/news/20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* Update 20171226 Top 10 Microsoft Visio Alternatives for Linux.md

* Translated

* f

* PRF

@qfzy1233

* PUB

@qfzy1233 https://linux.cn/article-11119-1.html

* 选题: 20190718 What you need to know to be a sysadmin

sources/tech/20190718 What you need to know to be a sysadmin.md

* 选题: 20190718 Redirect a GitHub Pages site with this HTTP hack

sources/tech/20190718 Redirect a GitHub Pages site with this HTTP hack.md

* 选题: 20190718 How to apply 'release early, release often' to build a better brand

sources/tech/20190718 How to apply -release early, release often- to build a better brand.md

* 选题: 20190718 Smart cities offer window into the evolution of enterprise IoT technology

sources/talk/20190718 Smart cities offer window into the evolution of enterprise IoT technology.md

* PRF

@robsean 这篇翻译的很认真

* PUB

@robsean https://linux.cn/article-11120-1.html

* APL:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* TSL&PRF:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

* PUB:20190718 Epic Games Backs Blender Foundation with -1.2m Epic MegaGrants.md

@wxy https://linux.cn/article-11121-1.html

* translating

* translated

* translating

* heguangzhi  translated

* translated

* translated

* heguangzhi tranlated

* APL:20190717 Mastering user groups on Linux

* PRF

@MjSeven

* PUB

@MjSeven https://linux.cn/article-11123-1.html

* 选题: 20190719 Modifying Windows local accounts with Fedora and chntpw

sources/tech/20190719 Modifying Windows local accounts with Fedora and chntpw.md

* 选题: 20190719 Buying a Linux-ready laptop

sources/tech/20190719 Buying a Linux-ready laptop.md

* 选题: 20190718 Worst DNS attacks and how to mitigate them

sources/talk/20190718 Worst DNS attacks and how to mitigate them.md

* PRF

@wxy

* PUB

@wxy https://linux.cn/article-11124-1.html

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11125-1.html

* hankchow translating

* hankchow translated

* hankchow translated

* 申请翻译 20190718 What you need to know to be a sysadmin.md

申请翻译 20190718 What you need to know to be a sysadmin.md

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11128-1.html

* PRF

@heguangzhi

* PUB

@heguangzhi https://linux.cn/article-11130-1.html

* PRF

@hopefully2333 原文逻辑不通,我做了段落调整

* PUB

@hopefully2333 https://linux.cn/article-11132-1.html

* PRF

@HankChow

* PUB

@HankChow https://linux.cn/article-11133-1.html

* 选题: 20190720 How to Upgrade Debian 9 (Stretch) to Debian 10 (Buster) via Command Line

sources/tech/20190720 How to Upgrade Debian 9 (Stretch) to Debian 10 (Buster) via Command Line.md

* translated

* translating

* APL:20190717 How to install Kibana on MacOS

* PRF

* TSL&PRF

* PUB

@wxy https://linux.cn/article-11135-1.html

* 选题: 20190723 How to Create a User Account Without useradd Command in Linux?

sources/tech/20190723 How to Create a User Account Without useradd Command in Linux.md

* 选题: 20190722 How to run virtual machines with virt-manager

sources/tech/20190722 How to run virtual machines with virt-manager.md

* 选题: 20190723 8 Best Open Source CRM Software

sources/tech/20190723 8 Best Open Source CRM Software.md

* Revert "Revert "超期回收: sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md""

This reverts commit 359e0506a2.

* PRF

@ZhiW5217 恭喜你完成了第一篇翻译。

* PUB

@ZhiW5217 本文首发地址: https://linux.cn/article-11138-1.html
你的 LCTT 专页地址: https://linux.cn/lctt/ZhiW5217
请注册领取你的 LCCN: https://lctt.linux.cn/

* Translating

* translated

* translated

* PRF

@geekpi

* PUB

@geekpi https://linux.cn/article-11141-1.html
2019-07-24 00:38:37 +08:00

7.1 KiB
Raw Blame History

如何在 MacOS 上安装 Kibana

Elasticsearch 当安装好了之后Kibana 插件可以为这个功能强大的搜索工具添加可视化功能。

在我之前的文章中,我向 Mac 用户介绍了安装 Elasticsearch 的步骤,这是世界上最受欢迎的企业级搜索引擎。(这里有一篇针对 Linux 用户的单独文章。)其自然语言处理能力使得 Elasticsearch 在数据集中查找细节方面表现出色。一旦你发现了你需要的数据,如果你已经安装了 Kibana,你可以将它提升到一个新的水平。

Kibana 是 Elasticsearch 的开源的数据可视化插件。当你在 Elasticsearch 中找到了数据Kibana 就会帮助你将其放入折线图、时间序列查询、地理空间地图等。该工具非常适合于必须展示其研究成果的数据科学家,尤其是那些使用开源数据的人。

安装 Kibana

你需要在 Elasticsearch 之外单独安装 Kibana。因为我安装了 Elasticsearch 7.1.1,所以我将安装 Kibana 1.1。版本的匹配非常重要Kibana 需要针对相同版本的 Elasticsearch 节点运行。 Kibana 运行在 node.js 上。)

以下是我为 MacOS 安装 Kibana 7.1.1 时所遵循的步骤:

1、确保 Elasticsearch 已下载并运行。如果需要,请参阅上一篇文章。

注意:你至少需要先安装 Elasticsearch 1.4.4 或更高版本才能使用 Kibana。这是因为你需要向 Kibana 提供要连接的 Elasticsearch 实例的 URL 以及你要搜索的 Elasticsearch 索引。通常,最好安装两者的最新版本。

2、单击此处下载 Kibana。你将看到如下的网页它会提示你在下载部分的右上角下载 Kibana for Mac

Download Kibana here.

3、在你的 Downloads 文件夹中,打开 .tar 文件以展开它。此操作将创建一个具有相同名称的文件夹(例如,kibana-7.1.1-darwin-x86_64)。

4、如果你希望 Kibana 放在另一个文件夹中,请立即移动它。

仔细检查 Elasticsearch 是否正在运行,如果没有,请在继续之前启动它。(如果你需要说明,请参阅上一篇文章。)

打开 Kibana 插件

Elasticsearch 运行起来后,你现在可以启动 Kibana 了。该过程类似于启动 Elasticsearch

1、从 Mac 的 Downloads 文件夹(或 Kibana 移动到的新文件夹)里,打开 Kibana 文件夹(即 ~Downloads/kibana-7.1.1-darwin-x86_64)。

2、打开 bin 子文件夹。

The Kibana bin folder.

3、运行 kibana-plugin。你可能会遇到上一篇文章中出现的相同安全警告:    Security warning

通常,如果收到此警告,请按照那篇文章中的说明清除警告并打开 Kibana。请注意如果我在终端中没有运行 Elasticsearch 的情况下打开该插件,我会收到相同的安全警告。要解决此问题,如上一篇文章中所述,打开 Elasticsearch 并在终端中运行它。使用 GUI 启动 Elasticsearch 也应该打开终端。

然后,我右键单击 kibana-plugin 并选择“打开”。这个解决方案对我有用,但你可能需要尝试几次。 我的 Elasticsearch 聚会中的几个人在他们的设备上打开 Kibana 时遇到了一些麻烦。

更改 Kibana 的主机和端口号

Kibana 的默认设置将其配置为在 localhost:5601 上运行。你需要更新文件(在这个例子的情况下)~Downloads/kibana-7.1.1-darwin-x86_64/config/kibana.yml 以在运行 Kibana 之前更改主机或端口号。

The Kibana config directory.

以下是我的 Elasticsearch 聚会组里配置 Kibana 时终端的样子,因此默认为 http://localhost:9200,这是查询 Elasticsearch 实例时使用的 URL

Configuring Kibana's host and port connections.

从命令行运行 Kibana

打开插件后,可以从命令行或 GUI 运行 Kibana。这是终端连接到 Elasticsearch 后的样子:

Kibana running once it's connected to Elasticsearch.

与 Elasticsearch 一样Kibana 默认在前台运行。你可以按 Ctrl-C 来停止它。

总结

Elasticsearch 和 Kibana 是占用大量存储空间的大型软件包。有这么多人一次下载这两个软件包当我的Elasticsearch 会员和我下载它们两个时,我平均要下载几分钟。这可能是由于 WiFi 不佳和/或用户数量太多,但如果发生同样的事情,请记住这种可能性。

之后,由于我的笔记本电脑存储空间不足,我无法上传我们正在使用的 JSON 文件。我能够按照讲师的可视化进行操作,但无法实时使用 Kibana。因此在下载 Elasticsearch 和 Kibana 之前,请确保设备上有足够的空间(至少几千兆字节)来上传和使用这些工具搜索文件。

要了解有关 Kibana 的更多信息,他们的用户指南简介是理想的。(你可以根据你正在使用的 Kibana 版本配置该指南。)他们的演示还向你展示了如何在几分钟内构建仪表板,然后进行首次部署。

玩得开心!


via: https://opensource.com/article/19/7/installing-kibana-macos

作者:Lauren Maffeo 选题:lujun9972 译者:wxy 校对:wxy

本文由 LCTT 原创编译,Linux中国 荣誉推出