Splunk Search

What to do if i want to snap out data for some specific days?

firozalam49
New Member

for example: if it is saturday and i just want to see events of tuesday and wednesday. How to list event of these two days. Thank You

Tags (2)
0 Karma

cmerriman
Super Champion

you can always use the date picker on the right hand side next to the search box to pick the specific days you want (it searches based on indexed time), or you can create an eval based on another time field, something like:

|eval tuesday=relative_time(timefield,"@w2")|eval wednesday=relative_time(timefield,"@w3")|where _time>+tuesday AND _time<+wednesday
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 ...