We know a few of you technical people have forayed in to the mystical land that is #elasticsearch. As we have been using it for some time, we thought we would share a few tricks we have found along the way.
For starters, we found a great service wrapper that can monitor your elasticsearch nodes. Install as follows:
2) Unzip it and move it to a directory of your choosing (e.g. /usr/local/share in our example below)
3) Install the ES service wrapper:
- curl -L http://github.com/elasticsearch/elasticsearch-servicewrapper/tarball/master | tar -xz
- mv *servicewrapper*/service /usr/local/share/elasticsearch/bin/
- rm -Rf *servicewrapper*
Now your elasticsearch cluster is like any other linux service and can be monitored accordingly, and is also wrapped with the Java Service Wrapper ensuring the memory consumption of ES does not fall out of bounds.