Filip Pytloun | f81d3e9 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
| 2 | ====== |
| 3 | Kibana |
| 4 | ====== |
| 5 | |
| 6 | Kibana is an open source (Apache Licensed), browser based analytics and search interface to Logstash and other timestamped data sets stored in ElasticSearch. With those in place Kibana is a snap to setup and start using (seriously). Kibana strives to be easy to get started with, while also being flexible and powerful |
| 7 | |
| 8 | Sample pillar |
| 9 | ============= |
| 10 | |
| 11 | .. code-block:: yaml |
| 12 | |
| 13 | kibana: |
| 14 | server: |
| 15 | addrepo: true |
| 16 | enabled: true |
| 17 | bind: |
| 18 | address: 0.0.0.0 |
| 19 | port: 5601 |
| 20 | database: |
| 21 | engine: elasticsearch |
| 22 | host: localhost |
| 23 | port: 9200 |
| 24 | |
jan kaufman | 9c225fb | 2016-03-10 11:11:40 +0100 | [diff] [blame] | 25 | Or without adding elasticsearch kibana repository, but with modified path to config file |
Filip Pytloun | f81d3e9 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 26 | |
| 27 | .. code-block:: yaml |
| 28 | |
| 29 | kibana: |
| 30 | server: |
jan kaufman | 9c225fb | 2016-03-10 11:11:40 +0100 | [diff] [blame] | 31 | configpath: /usr/share/kibana/config/kibana.yml |
Filip Pytloun | f81d3e9 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 32 | enabled: true |
| 33 | bind: |
| 34 | address: 0.0.0.0 |
| 35 | port: 5601 |
| 36 | database: |
| 37 | engine: elasticsearch |
| 38 | host: localhost |
| 39 | port: 9200 |
| 40 | |
| 41 | |
Guillaume Thouvenin | 49059fc | 2016-11-18 15:58:16 +0100 | [diff] [blame] | 42 | Client setup |
| 43 | ------------ |
| 44 | |
| 45 | Client with host and port (Kibana use Elasticsearch to store its data): |
| 46 | |
| 47 | .. code-block:: yaml |
| 48 | |
| 49 | kibana: |
| 50 | client: |
| 51 | enabled: true |
| 52 | server: |
| 53 | host: elasticsearch.host |
| 54 | port: 9200 |
| 55 | |
| 56 | Client where you download a Kibana object that is stored in the directory |
| 57 | *files/*: |
| 58 | |
| 59 | .. code-block:: yaml |
| 60 | |
| 61 | kibana: |
| 62 | client: |
| 63 | enabled: true |
| 64 | server: |
| 65 | host: elasticsearch.host |
| 66 | port: 9200 |
| 67 | object: |
| 68 | logs: |
| 69 | enabled: true |
| 70 | name: Logs |
| 71 | template: kibana/files/objects/dashboard_logs.json |
| 72 | type: 'dashboard' |
| 73 | |
Jakub Josef | 6f444be | 2018-04-09 15:31:41 +0200 | [diff] [blame] | 74 | Client directly use a Kibana object that is stored in model: |
| 75 | |
| 76 | .. code-block:: yaml |
| 77 | |
| 78 | kibana: |
| 79 | client: |
| 80 | enabled: true |
| 81 | server: |
| 82 | host: elasticsearch.host |
| 83 | port: 9200 |
| 84 | object: |
| 85 | logs: |
| 86 | enabled: true |
| 87 | name: Logs |
| 88 | type: 'dashboard' |
| 89 | content: |
| 90 | title: "Logs" |
| 91 | hits: 0 |
| 92 | description: "" |
| 93 | ... |
| 94 | |
Filip Pytloun | f81d3e9 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 95 | Read more |
| 96 | ========= |
| 97 | |
| 98 | * https://github.com/elasticsearch/kibana/blob/master/src/config.js |