I might be a bit daft on this one, but how would i turn off slow logging through an HTTP call? I used the command in the logging docs, https://www.elastic.co/guide/en/elasticsearch/guide/current/logging.html, to turn on logging and it worked fine. But my SA asked how he can turn off slow logs if he needs to.
If I added it this way, how would I turn off the same settings? Put blank values in? DELETE? I'm probably missing something obvious.
PUT /my_index/_settings
{
"index.search.slowlog.threshold.query.warn" : "10s",
"index.search.slowlog.threshold.fetch.debug": "500ms",
"index.indexing.slowlog.threshold.index.info": "5s"
}