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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...