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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...