Splunk Search

Visual Studio with Splunk

elaine0102
Explorer

Hi, anyone can assist me?

I have my own application at Visual Studio using API to extract information, these information is then feed to Splunk for analysis (I need real-time data).

I have created .bat to run my application.
Q: .bat I will place in the $SPLUNK_HOME/etc/apps/my_app/bin/ ?

$SPLUNK_HOME/etc/apps/my_app/scripts/ ---> what should I place?

Tags (2)
0 Karma

Damien_Dallimor
Ultra Champion

Is this a scripted input ?
If so , then yes it should go in your apps "bin" directory

$SPLUNK_HOME/etc/apps/my_app/bin
0 Karma

Damien_Dallimor
Ultra Champion

I would suggest copying all the necessary artifacts over to you apps "bin" directory, execute the bat script directly, and if you see the desired console output, then this should work fine when the bat script is fired by Splunk.

0 Karma

elaine0102
Explorer

Hi, thank you for your reply. Another question, do you know if I can place my whole Visual Studio Console Application in the "Scripts" directory? Cause I cannot make my project into a stand alone executable file.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...