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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...