Question

I am reading at http://cookbook.logstash.net/recipes/faster-startup-time/

I did unzip jar and trying to run but i don't know what i am doing wrong?

#unzip logstash-1.1.5-monolithic.jar -d  dest_dir
#java -jar -cp /past/to/extracted/logstash/dest_dir logstash.runner agent -f /path/to/logstash/config.conf -- web --backend elasticsearch:///?local
Unable to access jarfile logstash.runner
Was it helpful?

Solution

Faster startup time can now be achieved by using the flatjar. This jar packs logstash differently so that ruby doesn't have to scan so many paths at startup, thus reducing startup time. This is easier than unziping the jar and it is comparable in startup time.

Using FlatJar

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top