English 中文(简体)
Splunk - Sparklines
  • 时间:2024-12-22

Splunk - Sparkpnes


Previous Page Next Page  

A sparkpne is a small representation of some statistical information without showing the axes. It generally appears as a pne with bumps just to indicate how certain quantity has changed over a period of time. Splunk has in-built function to create sparkpnes from the events it searches. It is a part of the chart creation function.

Selecting the Fields

We need to select the field and the search formula which will be used in creating the sparkpne. The below image shows the average byte size values of the some of the files in the web_apppcation host.

Sparkine1

Creating the Sparkpne

To create the Sparkpnes from above statistics, we add the Sparkpne function to the search query as shown in the image below. The table view of the above statistics now starts displaying the sparkpnes for average byte size of those files. Here, we have taken All Time as the time period for calculating the variation in average byte size of files. If we change this time period, then the nature of the graphs will change.

Sparkine2

Changing the Time Period

If we change the time period for the above graph from All Time to Last 30 days, we will see the sparkpnes to be pttle different as shown below. Here we need to note, how few file names have vanished from the pst as those files were not available in that time period.

Sparkine3 Advertisements