Saturday, July 17, 2021

Logstash Installation

Logstash is one of the software from Elastic stack to collect logs from different data sources and send logs to Elastic search. It will take data from different sources and process data as per our requirements.

 




 

Software and Tools



 

Windows 10

Java 1.8 or higher

logstash-7.13.3

 

 

 

Download and Extract


Go to elastic search download page and download Logstash.

 

https://www.elastic.co/downloads/logstash

 

Direct link as follows

 

https://artifacts.elastic.co/downloads/logstash/logstash-7.13.3-windows-x86_64.zip

 

Extract downloaded zip in local drive

 



 

 

Start Logstash


Open command prompt and locate to bin directory of Logstash and use below command to start.


 

logstash.bat -e "input { stdin { } } output { stdout {} }"

 

 





Actually, we need to pass Logstash configuration file as input to start command but we have not decided input/output configuration so we just started with dummy input/output.

 

Finally, Logstash API can be accessible on 9600 port

 

 

http://localhost:9600/

 

 




 

 

Reference


https://www.elastic.co/guide/en/logstash/current/introduction.html



Author

 

0 comments :

Post a Comment

Recent Posts

Recent Posts Widget

Popular Posts