How to search for regex with spaces?

I'm trying to do the following search on a field in my index called "msgbody"

msgbody:/Task lge00[57].5 boundary/

So I can see all the logs with the following text in the msgbody field.

Task lge005.5 boundary
Task lge007.5 boundary

I do see these logs but my regex doesn't find them. What am I missing?

msgbody might be an analyzed field, can you try searching on msgbody.raw: ?

Thanks but that didn't work either. Here's a sample logs that I'm searching.

Task lge005.5 boundary start: Remaining system memory before = 312641976
Task lge005.5 boundary end: Remaining system memory after = 310773144
Task lge007.5 boundary start: Remaining system memory before = 312641976
Task lge007.5 boundary end: Remaining system memory after = 310773144

I can search for

msgbody:/lge00[57].5/

but that shows up lines other than the ones I want above.

I'm surprised NO one has done a similar query before.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.