Splunk Search

How to create timechart overlap of counts of 2 different dates

nytins
Engager

I want to create a visualization that combines the 2 queries like below and give a overlapping timechart of counts

Query 1: index=myindex Service=MyService| timechart count (for day1)
Query 2: index=myindex Service=MyService| timechart count (for day2)

How can I do that?

0 Karma

manjunathmeti
Champion

Try using timechart with span:

index=myindex Service=MyService earliest=-2d@d | timechart span=1d count
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...