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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...