Reporting

outputcsv to the directory of its app

lemikg
Communicator

Hi,

I created an app and want to output the csv to the directory of the app. From what I read in the docs http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/AppIntro it should be possible, but somehow it still outputs the file to

/var/run/splunk

But according to this post http://splunk-base.splunk.com/answers/1207/outputcsv-can-i-tell-it-where-to-create-the-csv there is no way, but for that reason I created an app.

Any help would be greatly appreciated.

Regards
Mike

Tags (1)
0 Karma
1 Solution

lemikg
Communicator

OK, got it. It seems there is really no way to choose an output path. But this saves it directly to the lookup table.

| outputlookup abc.csv

View solution in original post

lemikg
Communicator

OK, got it. It seems there is really no way to choose an output path. But this saves it directly to the lookup table.

| outputlookup abc.csv

Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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 ...