I am trying to write a pipeline rule to route the message to a stream Suspected Attack if a specific condition is met. The moment I fire up pipeline rule, Graylog becomes too slow and below notification triggers. Logic seems to be fine but not sure whats going wrong:( It would be great if some one help resolve this issue. Thank you…
Nodes with too long GC pauses (triggered a few seconds ago)
There are Graylog nodes on which the garbage collector runs too long. Garbage collection runs should be as short as possible. Please check whether those nodes are healthy. (Node: eece24e7-ff19-491e-9494-ee5a713d2f38, GC duration: 2321 ms, GC threshold: 1000 ms)
rule "Cross Site Scripting"
((((((has_field(“dst”) AND not contains(to_string($message.dst), “N/A”)) || (has_field(“src”) AND not contains(to_string($message.src), “N/A”))) AND not contains(to_string($message.src), “188.8.131.52”)) AND contains(to_string($message.name), “Cross Site Scripting”)) AND not contains(to_string($message.severity), “Low”)) AND not contains (to_string($message.cat), “Reconnaissance”))
rule "Suspected Attacks Inflate Rule"
let mess = clone_message();
route_to_stream(name: “Suspected Attack”, message:mess);
- I am new to Graylog.
- I want message to exist in both streams
- I already tried using Stream ID but no luck
- Above pipeline rules are tagged to ALL messages stream.
- Graylog Version: 2.2.3+7adc951, codename Stiegl
- Both the streams are pointed towards same index.