One liner to expose the EQL query for debugging for users (#100565)
## Summary Expose the EQL query in the Kibana logs for detections when they are being run when Kibana in debug mode.
This commit is contained in:
parent
bca1c14f9c
commit
5dc85c69b7
|
@ -92,6 +92,11 @@ export const eqlExecutor = async ({
|
|||
ruleParams.eventCategoryOverride
|
||||
);
|
||||
const eqlSignalSearchStart = performance.now();
|
||||
logger.debug(
|
||||
`EQL query request path: ${request.path}, method: ${request.method}, body: ${JSON.stringify(
|
||||
request.body
|
||||
)}`
|
||||
);
|
||||
// TODO: fix this later
|
||||
const { body: response } = (await services.scopedClusterClient.asCurrentUser.transport.request(
|
||||
request
|
||||
|
|
Loading…
Reference in a new issue