Escape # in the DQL

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.8.0

Describe the issue:
I want to find entries that contains a # in the message field.
I tried it with these combinations:

  • message:#
    message: #
    message: “#”
    message: “#

A Example message look like this:
#2023-07-07 11:34:04.985#2#TREND_Persistence_Layer##Transaction id = 5591260 aborted in finalize() !