Professional Documents
Culture Documents
Service Creation Using NSSM
Service Creation Using NSSM
Service Creation Using NSSM
Guide for creating an Elasticsearch service and a Logstash service using NSSM (Non-Sucking Service
Manager) on Windows:
3. Download NSSM:
• Press Windows key + X, then select "Command Prompt (Admin)" from the menu.
• In the Command Prompt, navigate to the location where you extracted NSSM.
• A dialog box will appear. Fill in the necessary information, such as service name, startup
directory, and arguments. Click "Install" to proceed.
• A dialog box will appear. Fill in the necessary information, such as service name, startup
directory, and arguments. Click "Install" to proceed.
• Open the Services window by pressing Windows key + R, then type services.msc and press Enter.
• Right-click on each service, select "Start", and wait for the services to start running.
You have now created Elasticsearch and Logstash services using NSSM. You can access Elasticsearch
through its REST API, and Logstash will be running and processing data according to your Logstash
configuration file. Make sure to adjust the paths in the commands according to your specific installation
directories.