Configuring search slow log


(Yehuda Zargarov) #1

Hi,

I'm trying to configure it using this manual:

http://www.elasticsearch.org/guide/reference/index-modules/slowlog.html

  1. Do I need to add the threshold to the logging.yml or the
    elasticsearch.yml?

  2. I have 6 servers running. I want to add this log only in one of
    them. After changing the yml file, do I need to restart elastic in all
    of them, one of them or none?

Thanks


(Igor Motov) #2
  1. thresholds are already in elasticsearch.yml (close to the end of the
    file). You just need to uncomment them.

  2. only the server where you changed elasticsearch.yml needs to be restarted

On Monday, April 23, 2012 10:46:27 AM UTC-4, Yehuda Zargarov wrote:

Hi,

I'm trying to configure it using this manual:

http://www.elasticsearch.org/guide/reference/index-modules/slowlog.html

  1. Do I need to add the threshold to the logging.yml or the
    elasticsearch.yml?

  2. I have 6 servers running. I want to add this log only in one of
    them. After changing the yml file, do I need to restart elastic in all
    of them, one of them or none?

Thanks


(system) #3