Splunk Search

How to create timechart overlap of counts of 2 different dates

nytins
New Member

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
SplunkTrust
SplunkTrust

Try using timechart with span:

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

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...