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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...