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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...