summaryrefslogtreecommitdiff
path: root/elastic/README.md
blob: 2898fcd606323842acb7525f8425bad92b7b6a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Kibana Soledad Benchmark Dashboard

## Generate visualisations from template

    ./generate-config.py

## Upload configs

Provide kibana admin credentials in your `~/.netrc` file.
Then upload dashboard configs:

    ./load.sh -l https://moose.leap.se:9200

## Browse Dashboard

    https://moose.leap.se/app/kibana#/dashboard/soledad-benchmark

## Changing the Dashboard

Currently, the dashboard is generated from a series of template files that can
be found in the `templates/` directory. Each graph is a "visualization" which
is create from a search and different visualization states. Many graphs are
combined in a "dashboard".

In order to have a new graph in dashboard, you need to:

* maybe create a new search.
* create a new visualization.
* add the new visualization to the dashboard.

The way we have been doing is to first create temporary searches,
visualizations and dashboards by hand in kibana, and then export them and use
the exported data as a basis to modify the templates in this repository. To
export these objects, go to the main kibana page, and then click Management ->
Saved Objects -> Select the appropriate object -> Export.

If you add or modify fields you might also have to update the index pattern. To
export the index pattern, do the following:

    curl --netrc -X GET https://moose.leap.se:9200/.kibana/dashboard#/benchmark*