Reporting

How to build a saved search so it aggregates data correctly week over week?

mumblingsages
Path Finder

I'm trying to build a saved search that aggregates data week over week on Sunday to Sunday boundaries. My search is correctly aggregating the data. When I try to visualize it with Timechart the tick marks are on Monday to Monday boundaries. Is there a way to correct this behavior?

My Query

 index="closed-case-data" OR index="open-case-data" earliest="05/28/2017:00:00:00" latest=-0w@w0
    | dedup case_number 
    | timechart span=1w@w0 count by eventtype 
    | rename cases as "Cases", events as "Events", incidents as "Incidents"

ScreenCap

0 Karma

Shan
Builder

Hai,

Try this you can get the data for whole week.
In a Week starting from Sunday and ending on Monday you can get the time chart..
But not for Sunday to Sunday on Timechart..
You can get Sunday to Sunday data without Timechart in the events (eg : index=* earliest=@w0 latest=+7d@w7).

index=* earliest=@w0 latest=+7d@w7
| timechart count by host

0 Karma

mumblingsages
Path Finder

Bumping to see if anyone has any thoughts on this?

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...