Dashboards & Visualizations

Daily Top 3 report for bar chart

flora123
Path Finder

I have a code. It can get the top 3 IPs by day, and show it in a bar chart.

... earliest=-10d@d latest=-0d@d | bucket _time span=1d | top 3 IP by _time| timechart span=1d sum(count) by IP

Question one is: these bars aren't close, not every IP will be top 3 every day. I mean these bars disperse in everywhere.

How could I make these bars be close?

Question two is: there are too many IPs, and my chart can't show them all. (I mean this=> <param name="legend.placement">bottom</param>)

How could I show all of these blocks?

My English is not good, I try to describe my questions carefully. Hope you can understand what I mean.

Thanks a lot. 😃

Tags (1)
0 Karma
1 Solution

flora123
Path Finder
<param name="legend.placement">right</param>
<param name="chart.stackMode">stacked</param>

I change my original type.

But I still want to know if there are any other ways. Thanks a lot. 😃

View solution in original post

0 Karma

flora123
Path Finder
<param name="legend.placement">right</param>
<param name="chart.stackMode">stacked</param>

I change my original type.

But I still want to know if there are any other ways. Thanks a lot. 😃

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...