Hello graylog,
I’m trying to create a Stream rule with the following settings.
level:<4 AND identity:*_qa
I can display the “Field level must match exactly 4” if I try and show the “identity:*_qa” with regx it doesn’t display the servers in the stream.
jochen
(Jochen)
June 19, 2018, 7:00am
2
"*_qa"
is not a valid regular expression. Maybe you mean "^.*_qa"
?
jochen
(Jochen)
June 19, 2018, 7:03am
3
For reference:
FWIW, I find it quite egoistic to ask the same question in multiple communities (nothing wrong with that per se) and then not sharing links to the discussions (very wrong).
jochen:
"^.*_qa"
?
My apologies I’ll do that next time.
Still doesn’t work any ideas?
jochen
(Jochen)
June 19, 2018, 3:09pm
5
While it’s a valid regular expression now, you’ve copy & pasted too much.
You can try out regular expressions online at https://www.freeformatter.com/java-regex-tester.html .
(Hint: The double quotes and the question mark were part of the sentence, not of the regular expression)
1 Like
Hehe, I see it now thank you for your help. You’ve been wonderful! Again I’m sorry I’m not trying to be egoistic.
system
(system)
Closed
July 3, 2018, 3:10pm
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.