How to install elapsed filter in logstash?

Logstash has multiple filters and plugins but it is not available by default.Some plugins and filters needs to be installed manually by us before we use it. One of the filter is called elapsed filter.The main purpose of this filter is to find out the time difference between two points. Lets say we start process with time t1 and process ending with time t2 and this is process uniquely identified using id. Now using elapsed filter we can find time took to finish the process. Now lets see how can we install this filter in logstash. Go to bin folder of logstash and execute following command.

plugin install logstash-filter-elapsed

After executing above command we see following lines in the console for the successful completion.

Validating logstash-filter-elapsed
Installing logstash-filter-elapsed
Installation successful
Post a Comment (0)
Previous Post Next Post

Recent Posts