Splunk Search

How to calculate request arrival rate only for weekdays and exclude weekends for PST time?

New Member

Hello everyone.

Want to display the output only for the time which crosses 18 months (earliest time)

Tags (1)
0 Karma

Esteemed Legend

For the PST part, run the search as a user that had <LoginID> -> Preferences -> Time zone to PST.
For the other part, you can add something like this to your search:

... | eval date_wday = strftime(_time, "%a")
| where NOT (date_wday = "Sat" OR date_wday = "Sun")
0 Karma

Ultra Champion

many answers in this portal, here are couple:
you can address the time in many different ways, depending on your user setting, timestamp, and other.
if data is generated in the West Coast, you can also try and use _indextime

hope it helps

0 Karma
Get Updates on the Splunk Community!

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

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 ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...