Splunk Search

Time range - business days


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


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 Ingest Actions: Filter, Mask, Route, Repeat

WATCH NOW Ingest Actions (IA) is the best new way to easily filter, mask and route your data in Splunk® ...

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...