- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
anirban_nag
Explorer
10-06-2016
09:30 PM
I have a specific timeframe say from 1AM to 2AM. In this 1 hour I want to see all the failures from my log. But I want to see this timeframe failures not for only today but for N no of days. This N will be specified from the Date Range dropdown.
Bouns point if I can get the result for each day in a column chart side by side.
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
inventsekar

SplunkTrust
10-06-2016
11:20 PM
we can use date_hour
and solve this specific timeframe issue.
Try this one -
index=main sourcetype=yourSourcetype earliest=-31d latest=-1d (date_hour > 1 OR date_hour < 2) | chart count(Failure) by sourcetype over host
thanks and best regards,
Sekar
PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
Sekar
PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
inventsekar

SplunkTrust
10-06-2016
11:20 PM
we can use date_hour
and solve this specific timeframe issue.
Try this one -
index=main sourcetype=yourSourcetype earliest=-31d latest=-1d (date_hour > 1 OR date_hour < 2) | chart count(Failure) by sourcetype over host
thanks and best regards,
Sekar
PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
Sekar
PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
