Searching stream for asterisk in message


#1

Hello community,

I need assistance in searching graylog for a specific message.

** BUILD FAILED **

When I search for this specific message I am finding in my logs everything that includes the words “BUILD FAILED”

For example this is being returned:

[echo] **********Result FAILURE: Build failed with an exception.

and this:

Build failed with error code 1

But I only want to find the message:

** BUILD FAILED **

Is there any way to lock in specifically on “** BUILD FAILED **” trapping the message that contains only the asterisks and not receive any other messages that contain the words BUILD FAILED?


(Tess) #2

I’m assuming you’ll have to use escape characters. Search for:

"\*\* BUILD FAILED \*\*"


#3

Totally:
Thank you for the assistance…
It required both the escaping of the characters and adding an additional condition of “File” to the query to nail down the message…

Thanks for the help.


(system) #4

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