Splunk Search

timechart count by what values are chosen

robertlabrie
Path Finder

If a log is generated every time a user comments on a blog

index=bloglog sourcetype=comments | timechart count by username

You'll get a great timechart with 10 (or whatever your limit is) usernames, and an other. How does Splunk decide what usernames would get shown? Can I assume that if they're visible, they had the most events in the time period?

0 Karma
1 Solution

badrinath_itrs
Communicator

Hi,

It displays the users having top count values as per default limit and the rest all users will be grouped as others . To change the limit you can use limit=0 ( all users) or some other number as per your requirement.

You can also add "useother=0" in your timechart search command to remove the other field.

Hope this helps.

View solution in original post

badrinath_itrs
Communicator

Hi,

It displays the users having top count values as per default limit and the rest all users will be grouped as others . To change the limit you can use limit=0 ( all users) or some other number as per your requirement.

You can also add "useother=0" in your timechart search command to remove the other field.

Hope this helps.

robertlabrie
Path Finder

Thanks for helping. I figured that was the logic, but wanted to confirm.
Thanks

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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