Splunk Search

Time range - business days

anonuser
Explorer

I would like to use time range picker - advanced and create a formula that brings the last 4 business days

I found some information about full business days week, but I couldn't customized it to my case

Is it possible? Or I need to use in another way our of time picker?

Labels (2)
0 Karma

aohls
Contributor

You can eval time into the day of week:

| eval dayOfWeek=strftime(_time, "%A")

This will mean dayOfWeek will be, Monday, Tuesday... You could then say something like where dayOfWeek != "Saturday".

0 Karma
Get Updates on the Splunk Community!

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...