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!

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...