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!

Transforming Financial Data into Fraud Intelligence

Every day, banks and financial companies handle millions of transactions, logins, and customer interactions ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...