This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
EMT-Mode - API-Gateway-Traffic-Monitor don't show traffic when Pod is recreated #114
Closed
Description
Axway APIM-ELK version
3.1.0
API-Manager Version
2021-7.7-March
Expected behavior
If the API management solution is running in EMT mode, then the traffic monitor must also display traffic for PoDs that no longer exist because they have either been recreated and deactivated.
Actual behavior
Currently, the traffic monitor only shows traffic from currently running pods.
This is apparently due to the fact that the search query contains the ID of the API gateway and this changes with every PoD restart.
Test case sample
The problem is the service-ID part of the search query: processInfo.serviceId":"traffic-7dff459748-kdlxf
{"bool":{"must":[{"exists":{"field":"http"}},{"term":{"processInfo.serviceId":"traffic-7dff459748-kdlxf"}},{"range":{"@timestamp":{"gt":1623858508454}}}]}}
Activity