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 extraction
tile. - In the
Origin
panel, click on theIndex patterns
tab 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 extract
panel, check theExtract _id
checkbox, and click on the fieldscontent.event_type
andplatform.application
. - In the
Destination
panel, enter a description,ikq_platform_logs
for 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 aRunning
status. Wait a few seconds and click onRefresh
until the status turns toSuccess
. - In the
Output
column, click onDownload
; an archive should be downloaded.