Reporting

outputcsv create_empty argument

firasarabo
Path Finder

I wanted to know how to specify create_empty argument for outputcsv command.

it works fine for me when wrting to the csv file, like:
...|outputcsv myfile.csv
however writing the following gives me errors saying "invalid arguement create_empty":
....|outputcsv create_empty=true myfile.csv

Thanks,
Firas

Tags (1)

firasarabo
Path Finder

It turns out that create_empty is introduced in version 4.3
I am using an older version.

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...