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!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...