Splunk Search

append search incorrect time window

akhasriya
Engager

I have a multisearch to view data for yesterday only.

[search
 index=... earliest = -1d@d latest=+0d@d| search ....
]
[search
index=... earliest = -1d@d latest=+0d@d|search ...] |timechart span=30m count BY cat

Running separately the time window is correct, it gives me data for yesterday BUT when running it as a multisearch it gives data for yesterday BUT the x-axis is extended to the current time without any data. I don't want the x-axis to be extended up to the current time.

0 Karma
1 Solution

somesoni2
Revered Legend

What is the time range picker value? (I know you're specifying it in-line in search).

View solution in original post

0 Karma

somesoni2
Revered Legend

What is the time range picker value? (I know you're specifying it in-line in search).

0 Karma

akhasriya
Engager

Hi somesoni, It was set to "today", I changed it to "all time" and seems to have done the trick. Cheers.l

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...