Deployment Architecture

How to run exe files when deployed apps.

burakatabay
Path Finder

Hi Splunkers,

after you create and deploy an app.
After you complete the deployment process,
I want to run "myapps/ bin/test.exe --profile test" in a windows machine.
test.exe is a command line executable.
but i don't know how to run exe files.
also what should I write in inputs.conf.

Thank you.

0 Karma
1 Solution

jdhunter
Path Finder

I call a BAT script to install Sysmon and execute the Sysmon.exe. You could do something similiar:

inputs.conf
[script://.\bin\deploy.bat]
disabled = false

Run Once on Startup

interval = -1
index = your_Index_you_want_to_store_your_script_data

BAT and EXE file exist within the bin directory - App is on a Windows client machine. You will need to change your slashes depending on your environment.

View solution in original post

jdhunter
Path Finder

I call a BAT script to install Sysmon and execute the Sysmon.exe. You could do something similiar:

inputs.conf
[script://.\bin\deploy.bat]
disabled = false

Run Once on Startup

interval = -1
index = your_Index_you_want_to_store_your_script_data

BAT and EXE file exist within the bin directory - App is on a Windows client machine. You will need to change your slashes depending on your environment.

burakatabay
Path Finder

it's works.
Thank you for answer.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...