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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...