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 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...