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!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...