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!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...