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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...