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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...