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!

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...