How to grab the trace for bulkprocessor

Hi I need to trace same stack for bulkprocessor

for tracing the cause of the error on elastic, why does the application get a timeout

ERROR e.i.u.r.i.BulkIndexingProcessorConfig - - Failed to execute bulk request. Reason: java.net.SocketTimeoutException: 

referring to code

should I set below config the getting the trace?

PUT /_cluster/settings
{
  "transient": {
    "logger.action.?????????????: "trace"
  }
}

How should I troubleshoot such case?

I'm not completely sure I understand your question, but if you want to turn on trace logging for the code you linked to, you'd just do something like:

PUT /_cluster/settings
{
  "persistent" : {
    "logger.org.elasticsearch.action.bulk": "TRACE"
  }
}

You'll want to be very careful doing that in production though, because it could cause a lot of logging.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.