Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Escape newline characters in audit log statements #34570

Open
2 of 3 tasks
morrySnow opened this issue May 9, 2024 · 0 comments
Open
2 of 3 tasks

[Enhancement] Escape newline characters in audit log statements #34570

morrySnow opened this issue May 9, 2024 · 0 comments

Comments

@morrySnow
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Doris stores query statements in audit logs. However, newline characters within them cause the logs to break into multiple lines, making it difficult for automated tools to analyze audit logs. We need to escape the newline characters so that each audit log remains within a single line of text.

Solution

Escape newline characters in audit log statements

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant