Splunk Search

Problems with timechart

responsys_cm
Builder

I have a saved search that runs every hour and saves a count of events into a summary index. A chart on a dashboard displays that data as follows:

index=si-security search_name="SI: Bit9 - Count of Execution Blocks (1 Hour)" | timechart count by signature bins=168

The chart is over a 7 day period. I would like the resolution of the chart to show events by hour. Whether I use bins=168 or span=7d, the chart is displaying the sum of the hourly count on a daily basis.

What am I doing wrong here?

Thx.

Craig

Tags (1)
0 Karma
1 Solution

Ayn
Legend

If you want timechart to operate on a by-hour basis, you should set span=1h.

index=si-security search_name="SI: Bit9 - Count of Execution Blocks (1 Hour)" | timechart span=1h count by signature

View solution in original post

Ayn
Legend

If you want timechart to operate on a by-hour basis, you should set span=1h.

index=si-security search_name="SI: Bit9 - Count of Execution Blocks (1 Hour)" | timechart span=1h count by signature
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...