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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...