INS
(Borys)
February 22, 2023, 9:50am
1
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.
system
(system)
Closed
March 23, 2023, 2:20pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.