Skip to content

How to properly scape double quotes in query filters #577

Closed Locked Answered by alexku7
alexku7 asked this question in Q&A
Discussion options

You must be logged in to vote

seems replacing the query with single quotes without escape characters does the magic :)
query: 'kubernetes.container_name: analyzer AND log: "ERROR" AND NOT (log: "empty rules section" OR log: "Failed to decode decrypted key body - Encoded text cannot have a 6-bit remainder")'

Just wanted to metion that this format query: "kubernetes.container_name: analyzer AND log: \"ERROR\" AND NOT ( log: \"empty rules section\" or log: \"Failed to decode decrypted key body - Encoded text cannot have a 6-bit remainder\")"
causes to search the \ symbol literally

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jertel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant