Other Usage

How to stack 2 types of data from 2 different query

9198459056
Loves-to-Learn Everything

Suppose I have A and B query..both have success and failure...so I want both A and B success at one bar with different colour and failure as separate bar with different color

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Append one query to another then table the results. Set stacked mode on the chart

| makeresults
| eval name="A", success=100, failure=20
| append
    [| makeresults
    | eval name="B", success=300, failure=50]
| table name success failure
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...