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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...