Dashboards & Visualizations

How to plot a chart with two fields on Y-Axis

sarvesh_11
Communicator

Hello Splunkers,
I have to represent a line chart, in which the X-Axis would be the time range, but on Y-Axis I have two fields that say A and B.
Values of both the field are numeric.
Can I plot a chart with two fields on Y-Axis? And the legends should be expressing the Line?

I am trying but unable.
PS:- In Trellis Enable view

In short, what I am looking for is Trellis Disabled view in Trellis Enabled.

0 Karma
1 Solution

ALXWBR
Path Finder

Timechart your results so that you have,

_time, field A, field B

Display your chart as a line chart and then click on format > Chart Overlay, and type field B in the overlay box and select 'view on axis'

I think this is what you are after?

View solution in original post

ALXWBR
Path Finder

Timechart your results so that you have,

_time, field A, field B

Display your chart as a line chart and then click on format > Chart Overlay, and type field B in the overlay box and select 'view on axis'

I think this is what you are after?

amitm05
Builder

It would also depend on your SPL. Can you post your query here ?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...