Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add ppl request log #796

Merged

Conversation

penghuo
Copy link
Contributor

@penghuo penghuo commented Oct 22, 2020

Description of changes:
Add the incoming request log for PPL query. All the literal value is masked as ***.
For example, the qury source = kibana_sample_data_logs | where bytes = 100
will produce the following log
[b8f0eb5a-a4af-4a6c-9026-cb9a6dc4773f] Incoming request source=kibana_sample_data_logs | where bytes = ***

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@penghuo penghuo requested review from dai-chen and chloe-zh October 22, 2020 22:08
Copy link
Member

@chloe-zh chloe-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the changes!

Copy link
Member

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@penghuo penghuo merged commit 1c18b4c into opendistro-for-elasticsearch:develop Oct 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants