Working with wildcards

Hello,

When i search in kibana with the following expression:

message: ".pdf' to SFTP rejected folder (/in/ORDERS/.rejected)"

I get successfully the results that i want (see image 1)

image 1

But, when i search in kibana with the following (more general) expression:

message: ".pdf' to SFTP * (/in/ORDERS/.rejected)"

I get nothing (see image 2 below)

image2

Why the wildcard character in not working in my search?

Thank you,
Alexandros

Don't know why it does not work. Think it is just not supported.
Try using a filter

{
  "wildcard": {
    "field_name.keyword": "*search_string*"
  }
}