elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

ESQL: Log queries at debug level

Open nik9000 opened this issue 9 months ago • 4 comments

Previously we were logging all ESQL queries. That's a lot! Plus maybe there's PII in there or something. Let's not do that unless you ask for it. This changes the query logging to the debug log level you can still get at these if you want them, but you don't have them by default. you have to turn it on.

nik9000 avatar May 03 '24 16:05 nik9000

Pinging @elastic/es-analytical-engine (Team:Analytics)

elasticsearchmachine avatar May 03 '24 16:05 elasticsearchmachine

This one needs a test that reaches into the logs and that's "fun".

nik9000 avatar May 03 '24 16:05 nik9000

That's got a lot easier than the old days. Test made.

nik9000 avatar May 03 '24 16:05 nik9000

Hi @nik9000, I've created a changelog YAML for you.

elasticsearchmachine avatar May 03 '24 18:05 elasticsearchmachine

💚 Backport successful

Status Branch Result
8.14

elasticsearchmachine avatar May 06 '24 15:05 elasticsearchmachine