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!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...