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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...