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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...