Replies: 1 comment 1 reply
-
|
https://elastalert2.readthedocs.io/en/latest/alerts.html#microsoft-power-automate |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Using elastalert2 for sending alert into a teams' channel i find out that the connector wil be retired on Dec 31, 2025.new
Now for webhook url connector have to be generated with worlfows how to. I have done a test with elastalert2 but if failed with the new conector ( made by workflow).
workflow webhook url (it does not work):
https://default391f73b7a59043ad98f08b05098acc.c8.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/fe45622b3a194e29b232f6fc10e06946/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=0u7**********************connector webhook url (it works):
https://*******.webhook.office.com/webhookb2/8d710a24-047d-48fc-9802-77425aae240c@391f73b7-a590-43ad-98f0-8b05098accc8/IncomingWebhook/ef42bb38e7b04df88e55c927392bef25/e1b89f90-4993-4c8b-a70a-ed90c75b320c/V2QW5hdI_Qh36ABK-cFEtw889KFRPRp-o***************elastalert2 log:
Traceback (most recent call last):, File "/usr/local/lib/python3.12/site-packages/elastalert/elastalert.py", line 1774, in is_silenced, res = self.writeback_es.search(index=index, size=1, body=query,, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^, File "/usr/local/lib/python3.12/site-packages/elasticsearch/client/utils.py", line 152, in _wrapped, return func(*args, params=params, headers=headers, **kwargs), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^, File "/usr/local/lib/python3.12/site-packages/elastalert/__init__.py", line 147, in search, results = self.transport.perform_request(, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^, File "/usr/local/lib/python3.12/site-packages/elasticsearch/transport.py", line 392, in perform_request, raise e, File "/usr/local/lib/python3.12/site-packages/elasticsearch/transport.py", line 358, in perform_request, status, headers_response, data = connection.perform_request(, ^^^^^^^^^^^^^^^^^^^^^^^^^^^, File "/usr/local/lib/python3.12/site-packages/elasticsearch/connection/http_requests.py", line 199, in perform_request, self._raise_error(response.status_code, raw_data), File "/usr/local/lib/python3.12/site-packages/elasticsearch/connection/base.py", line 315, in _raise_error, raise HTTP_EXCEPTIONS.get(status_code, TransportError)(, elasticsearch.exceptions.RequestError: RequestError(400, 'search_phase_execution_exception', 'No mapping found for [until] in order to sort on')In last version is there support for the new webhooks urls made by workflows.?
Beta Was this translation helpful? Give feedback.
All reactions