Splunk Search

Bar chart comparing 2 values

SS1
Path Finder

Hi,

I have this stats table

Column1     Column2

400                  500

 

I want to have a bar chart which shows 2 bars side by side for column1 v and column2

 

Labels (5)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| makeresults | eval _raw="Column1     Column2

400                  500"
| multikv forceheader=1
| fields - _* linecount


| transpose 0
| rename "row 1" as count
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...