Skip to content

query for a quoted string #1465

Locked Answered by jertel
Idam7961 asked this question in Q&A
Discussion options

You must be logged in to vote
filter:
- query:
    query_string:
      query: "message: \"\\\"log.level\\\"\:\\\"info\\\"\""

Note that this is attempting to match the exact string "log.level":"info". It cannot be a substring of the message, it must be the entire, exact string in order for it to match.

Replies: 1 comment

Comment options

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