Track 6 Punch Kibana plugin¶
Abstract
This track introduces the Punch Kibana plugin. With this plugin, you can access the whole Punch documentation, extract subsets of data, and much more.
Access Punch documentation¶
Refer to the Punch documentation plugin.
Data extraction¶
Refer to the Punch data extraction plugin.
Question
How long is an extraction kept within the archiver ?
Exercise¶
Extract the content.event_type, platform.application and ID fields of the platform-logs-* documents for the last 20 minutes.
Once it's done, download the extraction.
Solution¶
- In Kibana, go to the Punch plugin from the left navigation panel.
- Click on the
Data extractiontile. - In the
Originpanel, click on theIndex patternstab and choose the index patternplatform-logs-* - On the extraction range, click on the Calendar icon and enter
Last 20 minutes, and clickApply - In the
Fields to extractpanel, check theExtract _idcheckbox, and click on the fieldscontent.event_typeandplatform.application. - In the
Destinationpanel, enter a description,ikq_platform_logsfor example. - Click on
Execute; the extraction is created and running. - At the top of the page, click on
Job executions; you should see the extraction with aRunningstatus. Wait a few seconds and click onRefreshuntil the status turns toSuccess. - In the
Outputcolumn, click onDownload; an archive should be downloaded.