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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...