Splunk Search

How do you use multiple y-axis fields while using the xyseries command?

rshivakrishna
New Member

I have a static table data which gives me the results in the format like ERRORCODE(Y-Axis) and When It happens(_time X-Axis) and how many occurred(Count Y- value). Here, I would like to add an additional column like ERRORTYPE in Y-Axis.
Is this possible?

Existing Query: | stats count by ERRORCODE, Timestamp | xyseries ERRORCODE, Timestamp count

Tags (2)
0 Karma

pramit46
Contributor

I don't think it's possible. Instead, you can try chart overlay option (I know, this is not what you want, but IMO, that is closest one to your requirement). That provides the option of axisY2. You can read more about it here:
https://docs.splunk.com/Documentation/Splunk/7.1.2/Viz/ChartConfigurationReference

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...