Kibana - Creating Reports Using Kibana

Reports can be easily created by using the Share button available in Kibana UI.

Reports in Kibana are available in the following two forms −

  • Permalinks
  • CSV Report

Report as Permalinks

When performing visualization, you can share the same as follows −

Report Permalinks

Use the share button to share the visualization with others as Embed Code or Permalinks.

In-case of Embed code you get the following options −

Embed code

You can generate the iframe code as short url or long url for snapshot or saved object. Snapshot will not give the recent data and user will be able to see the data saved when the link was shared. Any changes done later will not be reflected.

In case of saved object, you will get the recent changes done to that visualization.

Snapshot IFrame code for long url −

<iframe src="http://localhost:5601/app/kibana#/visualize/edit/87af
'countrywise_maxarea+',type:histogram))" height="600" width="800"></iframe>

Snapshot Iframe code for short url −

<iframe src="http://localhost:5601/goto/f0a6c852daedcb6b4fa74cce8c2ff6c4?embed=true" height="600" width="800"><iframe>

As snapshot and shot url.

With Short url −


With Short url off, the link looks as below −


When you hit the above link in the browser, you will get the same visualization as shown above. The above links are hosted locally, so it will not work when used outside the local environment.

CSV Report

You can get CSV Report in Kibana where there is data, which is mostly in the Discover tab.

Go to Discover tab and take any index you want the data for. Here we have taken the index:countriesdata-26.12.2018. Here is the data displayed from the index −

CSV Report

You can create tabular data from above data as shown below −

CSV tabular data

We have selected the fields from Available fields and the data seen earlier is converted into tabular format.

You can get above data in CSV report as shown below −

CSV report shown

The share button has option for CSV report and permalinks. You can click on CSV Report and download the same.

Please note to get the CSV Reports you need to save your data.

CSV save search

Confirm Save and click on Share button and CSV Reports. You will get following display −

CSV display

Click on Generate CSV to get your report. Once done, it will instruct you to go the management tab.

Go to Management Tab → Reporting

Management Tab

It displays the report name, created at, status and actions. You can click on the download button as highlighted above and get your csv report.

The CSV file we just downloaded is as shown here −

CSV file downloaded
Kickstart Your Career

Get certified by completing the course

Get Started