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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...