Splunk Search

How to Chart a value vs another value? (Not Time!)

bellstephen41
New Member

Possibly a stupid question but I've trying various things. If I google, all the results are people looking to chart vs time which I can do already. I hope to be able to chart two values (not time) from the same event in a graph without needing to perform a function on it. Thank you for your time.

0 Karma

emottola
Explorer

The simplest answer is to just make a | table val1 val2. Then switch to the Visualization tab and select a visualization like Line Chart, where your table will be graphed with val1 on the x axis, and val2 on the y axis.

If you wish to graph more than 2 values, add them to your table also. Columns 2 and beyond will be graphed as separate series against the first column. This behavior is much like you'd expect making a line chart in excel.

0 Karma

jplumsdaine22
Influencer
0 Karma

rjthibod
Champion

In general, I would say yes you can, but you will get the most helpful answer if you share more information about what exactly you are trying to do. Some sample data and the fields you want to chart would be most helpful.

0 Karma

cmerriman
Super Champion

really any visualization would work for that, i think, but the two that come to mind would be a scatter chart or a bubble chart. but as @rjthibod said, to really get a good answer, sample data and a more in depth explanation would be more helpful.

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...