Splunk Search

Is it possible to display weekly as well as daily data on the same chart?

Aakanksha
Path Finder

Is it possible to display weekly as well as daily data on the same chart?
Eg. Three weeks data with sub-scale of 7 days each.

Tags (1)
0 Karma

Aakanksha
Path Finder

No, I want 3 weeks graph with 21 lines(7*3), ie. each week average data with granularity of single day data.

0 Karma

yannK
Splunk Employee
Splunk Employee

You can use the append command to group results of different searches over different time periods.

example :


search_from_today earliest=@d latest=now | stats avg(myfield) AS today_average
| append [ search_from_last_week earliest=-2w@w latest=-1w@w | stats avg(myfield) AS lastweek_average ]
| table today_average lastweek_average

see http://splunk-base.splunk.com/answers/40071/append-comparison-to-1-week-earlier-with-timechart-by

0 Karma

jonuwz
Influencer

Can you explain in more detail how the graph would look ?

i.e. is it a graph from monday - sunday, with 3 lines, 1 for each of the last 3 weeks ?

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 ...