I have a text field over which I am doing wildcard search. However it is not working as expected.
Example:

Field: log_message
Value: watchdog watchdog6: watchdog did not stop!

If I use watchd* or watchdog, it matches.
However if I use log_message: "watchdog*stop" (in discover search bar in kibana), it doesn't match and I get 0 hits.
I can make it match with watchdog AND stop but I want to use the wildcard.

That would be similar to AND...just a different syntax.
Any explanation why foo*bar is not working? It is mentioned in reference documents that this should match any phrase, that has foo and bar at the end with anything else in the middle. Thank You.

Like if you have a term like fooXYZbar then foo*bar will most likely match (on a text field with standard analyzer).
But foo bar is analyzed as ["foo", "bar"] and obviously foo*bar does not match any of those terms.

That's why I'm surprised BTW that the keyword field does not work. But I did not have time yet to check it out.