Here's the use case:- Windows Environment.
logstash is on Server A and runs using a simple configuration file. The configuration file uses JDBC input plugin and elasticsearch output plugin. JDBC is connecting to SQL on Server B and pumping data into elastisearch on Server C. This configuration runs fine when logstash is started while logged into Server A.
However, the need is to start logstash from Server D. Wondering if it is possible and what recommendations are out there? Running logstash automatically on a schedule is not an option.
So far, I've tried the following.
Created a batch file on Server A and called it from Server D using command line with shared/mapped UNC network path to Server A. It complained about not being able to find Java.
Used SSIS execute process task with UNC path and working directory as the mapped drive. No errors but no work gets done.
Next I am thinking of trying PSExec or PS but wondering if anyone else has a better solution.
Thanks for your time and help!