All Apps and Add-ons

Creating a table from diff source

marinewcreater
Explorer

HI Team,

I would like to create a table in a dashboard from two difference results.

Eg: Blue stack results and Green stack results has to display on a same table like below.

Green /t Blue

Service Call_count Service Call_count

0 Karma
1 Solution

marinewcreater
Explorer

index = avb source = "blue | stats count by Service, Call_count
index = avb source = "Green | stats count by Service, Call_count

Is it possible to display both results in same table, as Header Green / Blue and next line header as Service / Call_count

0 Karma

dindu
Contributor

Hi,
Please check whether the below snippet is what you are looking for.

  index=avb source="blue" 
 |eval Blue_Green="Blue"
 |stats count as "Service_Call Count" by Service, Call_count ,Blue_Green
 |append [ search index=avb source="Green"
 |eval Blue_Green="Green"
 |stats count as "Service_Call Count" by Service, Call_count,Blue_Green]
  |fields - Service,Call_count
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...