Dashboards & Visualizations

how todisplay more than one field on bar chart

navd
New Member

I want to set up a Bar graph that displays more than one field when I hover over it. For example I use:

search | chart count over host by IP_address

so this is displaying just the host on the actual graph BUT also shows me the IP_address if I hover over my mouse to that specific bar.

Now, I also want to add one more field to display when I hover on a specific bar .

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

The chart command support aggregation by just two fields, so you'd have to try the workaround of concatenating two fields into one and use concatenated field in by clause.

search | eval "IP_address/OtherField"=IP_address.":".OtherField | chart count over host by "IP_address/OtherField"

View solution in original post

0 Karma

somesoni2
Revered Legend

The chart command support aggregation by just two fields, so you'd have to try the workaround of concatenating two fields into one and use concatenated field in by clause.

search | eval "IP_address/OtherField"=IP_address.":".OtherField | chart count over host by "IP_address/OtherField"
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...