Comments (1)
Using below Code resolved the Issue
from elastalert.enhancements import BaseEnhancement
class PsdEnhancement(BaseEnhancement):
# The enhancement is run against every match
# The match is passed to the process function where it can be modified in any way
# ElastAlert 2 will do this for each enhancement linked to a rule
def process(self, match):
self.rule['alertmanager_labels']['categoryid'] = match['categoryid']
from elastalert.
Related Issues (20)
- Elasticsearch version and Elastalert HOT 9
- @timestamp is UTC-0 how do i change it?
- elastalert test rule command error HOT 1
- About the es connection logic in the rule HOT 1
- elastalert cannot find index app* in openshift HOT 2
- KeyError: 'agent' when added custom elastalert rule HOT 2
- query string has error?
- timeframe setting is not work when rule run every minutes
- Cannot figure out interpreting JSON variable if using "."
- Error when using the @timestamp field on http_post2_payload body
- Trying to assign Epic Link using custome filed
- How to write the alarm rules I need๏ผ HOT 1
- Cant get command alert to work
- This is the error that shows up when I type command-"pip3 install elastalert" in "Ubuntu" HOT 1
- How can we use elastalert to read metrics from statsd and raise alerts for the CPU and memory utlization HOT 2
- Problems installing Elastalert on Ubuntu 22.04 HOT 2
- test
- Error when I change my index
- Range timestamp filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastalert.