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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...