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 Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...