Reporting

Help in Outputcsv command

jagadish85
Path Finder

Outputcsv command will export the log to a csv file in var\run\splunk location. I have used only enterprise trial version of splunk and i want to know how will it be in real scenario where we have multiple indexers, searchheads etc. Where this file will be stored? Whether in the indexer or Searchhead or Deployment server .

Incase the file is located in an indexer or Search head , how can i access the file (inputcsv) from different indexer or searchhead instance.

I have a scenario where i have created a schedule search which will update the csv file. And i have dashboards created reading values from this csv file using inputcsv command. Right now it is working in Enterprise trial version (single splunk instance). In real scenario i want to know whether this csv file will be generated in a centralised location.

Thanks
Jagadish

Tags (1)
0 Karma
1 Solution

strive
Influencer

The CSV file will be created in the location (node/machine) where the search runs.

View solution in original post

jagadish85
Path Finder

Thanks for your response.

Yes I am planning to use Search Head Pooling and savedsearch will be scheduled on Search Heads

0 Karma

somesoni2
Revered Legend

Are you planning to use Search Head pooling (may be using Shared NAS) and Will you be using a Separate JobServer instance for these saved searches or they will be scheduled on Search Heads only?

0 Karma

strive
Influencer

Where are you planning to keep your Saved Search which creates the CSV file and the search which is used for dashboard?

0 Karma

strive
Influencer

The CSV file will be created in the location (node/machine) where the search runs.

jagadish85
Path Finder

Thanks Strive

0 Karma

strive
Influencer

If you want to write CSV file to same app's lookups directory then try using outputlookup command

http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Outputlookup

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...