Skip to content

Commit

Permalink
One liner to expose the EQL query for debugging for users
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed May 25, 2021
1 parent e2d47f7 commit 01ee35f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01ee35f

Please sign in to comment.