Splunk ITSI

export to csv file

friend444
Explorer

how to export entityid in csv file

I know the command is outputcsv

what is full command to extract value for specific field like entityid

0 Karma
1 Solution

woodcock
Esteemed Legend

Like this:

... | table entityid
| outputlookup YourOutputFileNameHere.csv

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

... | table entityid
| outputlookup YourOutputFileNameHere.csv
0 Karma

aberkow
Builder

I think you might want outputlookup https://answers.splunk.com/answers/275602/difference-between-outputlookup-and-outputcsv.html, but the syntax is pretty straightforward - you take the results of your search and then append an

|outputlookup csvName.csv command. If you only want to extract something like entityid, you can use a table command before hand to only have that field be sent over.

Does this answer your question?

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...