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!

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...

Introducing New Splunkbase Governance!

Splunk apps are essential for maximizing the value of your Splunk Experience. Whether you’re using the default ...

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...