Splunk Search

Why do I only see 10 results/columns in my count table?

Mick
Splunk Employee
Splunk Employee

When I run this search -

source="*conn.log" | rex field=_raw "\.IP = '(?<connectionIp>[^']+)" | fields host, connectionIp | chart count by host, connectionIp

The resulting chart only shows me 10 IP addresses, but I know there are more in there. How do I get it to show me more?

1 Solution

Mick
Splunk Employee
Splunk Employee

By default, the table produced by the count command will only show you the top 10 results (columns) and then group the rest into the 'Other' column. To increase the number of columns in the table, append 'limit=x' to the end of your search, where 'x' is the number of columns you want to see.

View solution in original post

Mick
Splunk Employee
Splunk Employee

By default, the table produced by the count command will only show you the top 10 results (columns) and then group the rest into the 'Other' column. To increase the number of columns in the table, append 'limit=x' to the end of your search, where 'x' is the number of columns you want to see.

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...