How to set exclude document not alert ?
See original GitHub issuehi ,
I have set a rule as below, it’s will alert when program field is vty , but how to set exclude events when program is vty and user value have the keyword “bo”?
name: action rule
type: frequency
index: logstash-*
num_events: 1
timeframe:
hours: 4
filter:
- term:
program: "vty"
alert:
- "email"
email: "my@email"
for example , program is vty , user is abc then alert , if program is vty ,user is bob-an will not alert , if program is vty ,user is abom-bc will not alert , is it possible ? how to set ? Any ideas?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Configure and validate exclusions based on extension, name ...
Exclude files from Microsoft Defender Antivirus scans based on their file extension, file name, or location.
Read more >How to remove warning messages in R Markdown document?
For your post-knit HTML document you can always just open it in the browser, like chrome for instance, right-click on the warning then...
Read more >How Do I Exclude Devices From an Alert Trigger?
In theory I want it to function like this: "Trigger this alert when the node average response time is greater than 200ms and...
Read more >How to exclude files from virus scans on Windows or macOS
Open your McAfee security software. Click the settings gear icon at the top right. Under PC Settings, click Real-Time Scanning. NOTE: The files...
Read more >Set alerts for an event in Calendar on Mac - Apple Support
To remove an alert, click the Alert pop-up menu, then choose None. See alsoChange default alert settings in Calendar on MacManage notifications from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oops, should be
my bad
@Qmando @stefansaye I’m trying to ignore specific string in field srx-source-zone-name. I tried with options whitelist and query_string and filter term nothing worked.
I’m trying to exclude the below filed using NOT in query_string srx-source-zone-name:EXTERNAL. Please assist me ?
srx-rt-flow : RT_FLOW_SESSION_DENY srx-source-address: 10.18.109.59 srx-source-port: 56453 srx-source-zone-name: EXTERNAL
Tried below method but nothing is working. I get matches for the NOT string also 😦
Method 1:
Method 2:
Method 4:
field: srx-source-zone-name type: any compare_key: srx-source-zone-name ignore_null: true whitelist:
Method 5:
Am I missing something here ? I did not get any error when I run the rule but the filter is not negating the mentioned string.