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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...