Splunk Search

How to search for data per month, but only within a certain time frame (07:30 - 12:00)?

smart_r
New Member

I would like to extract data per month, but only within a certain time frame.

Say: Extract all data from January, but only within the time frame 07:30 - 12:00.

Thanks in advance.

Tags (3)
0 Karma
1 Solution

somesoni2
Revered Legend

See this similar question.

https://answers.splunk.com/answers/351237/run-a-monthly-performance-report-excluding-mainten.html#an...

Basically, you can use use date_hour and data_minute fields (if available already) to filter events. If they are not available, you can calculate them (from _time) and use the calculated values to filter events.

View solution in original post

somesoni2
Revered Legend

See this similar question.

https://answers.splunk.com/answers/351237/run-a-monthly-performance-report-excluding-mainten.html#an...

Basically, you can use use date_hour and data_minute fields (if available already) to filter events. If they are not available, you can calculate them (from _time) and use the calculated values to filter events.

smart_r
New Member

Thank you kindly for your reply. This must help 🙂

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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