How to disable log in /var/log/messages?

rwagner,
do you want logs to go somewhere else or just turn off logging for Elasticsearch?

Elasticsearch logging is controlled by elasticsearch.yml.
Look for lines
Elasticsearch logging is controlled by elasticsearch.yml.
Look for lines:

Path to log files:
path.logs: /var/log/master

If you change this to another folder then chown the folder to elasticsearch:elasticsearch (or whatever your elasticsearch user:group is.)

If you don't want it to log anything change this to a black hole or don't chown the folder to elasticsearch user.
HOWEVER
I would not disable logging, I would just point to a different location and set up logrotation to keep file size down.

Mark