Reporting

outputcsv limiting outputs to 10,000 rows

gordo32
Communicator

Running Splunk 6.6.4 on Ubuntu, and piping query results (25,000+ rows) to " | outputcsv filename.csv", but the output is consistently limited to 10,000 rows + header row (e.g. "grep -c . filename.csv" returns 10001).

According to documentation, there is no output limit to outputcsv. I can't find anything in limits.conf that seems applicable either.

Am I doing something wrong?

0 Karma

gordo32
Communicator

Nevermind. I didn't realize there was a Job alert indicating that "sort is limiting search results to 10000". Removing the |sort from my query resolved the issue.

0 Karma

493669
Super Champion

are you using sort command if yes then use like:

...|sort limit=0

As outputcsv does not have any results limits

493669
Super Champion

instead of removing sort you can use it with limit=0 which will not limit your data..

..|sort 0 <fieldname>
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...