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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...