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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...