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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...