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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...