kibana/docs/setup.asciidoc

51 lines
3.8 KiB
Plaintext
Raw Normal View History

[[setup]]
2015-01-23 23:37:26 +01:00
== Getting Kibana Up and Running
You can set up Kibana and start exploring your Elasticsearch indices in minutes.
2015-01-23 23:37:26 +01:00
All you need is:
* Elasticsearch 1.4.3 or later
2015-02-14 20:20:30 +01:00
* An up-to-date web browser. For a list of offically-supported browsers, see http://www.elasticsearch.com/support/matrix[Supported Browsers].
* Information about your Elasticsearch installation:
** URL of the Elasticsearch instance you want to connect to.
** Which index(es) you want to search. You can use the Elasticsearch http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cat-indices.html[`_cat/indices/`] command to list your indices.
2015-01-23 23:37:26 +01:00
2015-02-14 20:20:30 +01:00
[float]
[[install]]
2015-01-23 23:37:26 +01:00
=== Install and Start Kibana
To get Kibana up and running:
2015-02-14 20:20:30 +01:00
. Download the http://www.elasticsearch.org/overview/kibana/installation/[Kibana 4 binary package] for your platform.
2015-01-23 23:37:26 +01:00
. Extract the `.zip` or `tar.gz` archive file.
. Run Kibana from the install directory: `bin/kibana` (Linux/MacOSX) or `bin\kibana.bat` (Windows).
2015-01-23 23:37:26 +01:00
That's it! Kibana is now running on port 5601.
2015-02-14 20:20:30 +01:00
[float]
[[connect]]
2015-01-23 23:37:26 +01:00
=== Connect Kibana with Elasticsearch
2015-02-14 20:20:30 +01:00
Before you can start using Kibana, you need to tell it which Elasticsearch index(es) you want to explore. The first time you access Kibana, you are prompted to define an _index pattern_ that matches the name of one or more of your indices. That's it. That's all you need to configure to start using Kibana. You can add index patterns at any time from the <<settings-create-pattern,Settings tab>>.
2015-01-23 23:37:26 +01:00
2015-02-14 20:20:30 +01:00
TIP: By default, Kibana connects to the Elasticsearch instance running on `localhost`. To connect to a different Elasticsearch instance, modify the Elasticsearch URL in the `kibana.yml` configuration file and restart Kibana. For information about using Kibana with your production nodes, see <<production>>.
2015-01-23 23:37:26 +01:00
To configure the Elasticsearch index(es) you want to access with Kibana:
. Point your browser at port 5601 to access the Kibana UI. For example, `localhost:5601` or `http://YOURDOMAIN.com:5601`.
2015-02-14 20:20:30 +01:00
+
image:images/Discover-Start.jpg[Kibana start page]
2015-02-14 20:20:30 +01:00
+
. Specify an index pattern that matches the name of one or more of your Elasticsearch indices. By default, Kibana guesses that you're you're working with data being fed into Elasticsearch by Logstash. If that's the case, you can use the default `logstash-*` as your index pattern. The asterisk (*) matches zero or more characters in an index's name. If your Elasticsearch indices follow some other naming convention, enter an appropriate pattern. The "pattern" can also simply be the name of a single index.
2015-02-14 20:20:30 +01:00
. Select the index field that contains the timestamp that you want to use to perform time-based comparisons. Kibana reads the index mapping to list all of the fields that contain a timestamp. If your index doesn't have time-based data, disable the *Index contains time-based events* option.
. If new indices are generated periodically and have a timestamp appended to the name, select the *Use event times to create index names* option and select the *Index pattern interval*. This improves search performance by enabling Kibana to search only those indices that could contain data in the time range you specify. This is primarily applicable if you are using Logstash to feed data into Elasticsearch.
2015-02-14 20:20:30 +01:00
. Click *Create* to add the index pattern. This first pattern is automatically configured as the default. When you have more than one index pattern, you can designate which one to use as the default from *Settings > Indices*.
2015-01-23 23:37:26 +01:00
2015-01-27 17:47:37 +01:00
Voila! Kibana is now connected to your Elasticsearch data. Kibana displays a read-only list of fields configured for the matching index.
2015-01-23 23:37:26 +01:00
2015-02-14 20:20:30 +01:00
[float]
[[explore]]
2015-01-23 23:37:26 +01:00
=== Start Exploring your Data!
You're ready to dive in to your data:
* Search and browse your data interactively from the <<discover,Discover>> tab.
* Chart and map your data from the <<visualize, Visualize>> tab.
* Create and view custom dashboards from the <<dashboard, Dashboard>> tab.