Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
This repository was 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

@cwiechmann

Description

@cwiechmann

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}}}]}}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions