Splunk Search

2 queries in a line chart

athorat3
New Member

Query one 1> index=prod sourcetype="STORM" "received message from MQ" ">EXIGEN_QUOTE<" | timechart count
2>index=prod sourcetype="STORM" "received message from MQ" ">NETPOS<" | timechart count

I have two queries on the same source and want them to be displayed in one panel. Two lines in the line chart,one line for each query.
Can this be achieved.

Tags (2)
0 Karma

Raghav2384
Motivator

How about this

 index=prod sourcetype="STORM"  earliest=-24h "received message from MQ" "&gt;EXIGEN_QUOTE&lt;" | timechart span=15m count as Exigen|join type=outer [search index=prod sourcetype="STORM" earliest=-24h "received message from MQ" "&gt;NETPOS&lt;" | timechart span=15m count as Netpos]

Hope this helps!
Thanks,
Raghav

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...