Splunk Search

Single Value compared with custom option

valentinv
Explorer

Hi!

I monitor a csv file and I need to show the last value from file as Single Value chart.
This last value I want to compare it with the 24 value from file and show the trend.

This can be done (I guess) from query but I don't know how. Basically, Any ideas?

Thank you!

Tags (1)
0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi valentinv,

If you want to show trend over time, you can use the timechart command in your query. For example, the following search displays product purchases over time.

sourcetype=access_* action=purchase | timechart count by product 

So, basically you can timechart your values (each has a timestamp I presume) and visualize them using a line chart to see the trend.
For more details: http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Timechart?r=searchtip

Hope it helps. Thanks!
Hunter

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...