Trying to figure out what gets added upon running OUTPUTCSV vs manually exporting to CSV and how to remove it.
We run a weekly audit I'd like to automate and then run a script to zip the resulting file.
I did some experimenting and found that using outputcsv or outputlookup instead of exporting manually is almost tripling the file size of the output, from 300 Mb to 1.11 Gb.
Exact same search criteria, the exact same time range, returning the exact same number of results.
I also checked https://docs.splunk.com/Documentation/Splunk/8.0.5/SearchReference/Outputcsv and removed the internal fields it listed as being added.
Any insight here would be great!