Skip to content

[network_traffic]: Dashboard links are broken when kibana is behind a reverse proxy and server.basePath is used #11175

Open

Description

Integration Name

Network Packet Capture [network_traffic]

Dataset Name

No response

Integration Version

1.32.0

Agent Version

8.14.3

Agent Output Type

elasticsearch

Elasticsearch Version

8.14.3

OS Version and Architecture

RHEL 8.10 (x86_64)

Software/API Version

No response

Error Message

No response

Event Original

No response

What did you do?

Currently, I'm running Kibana behind a reverse proxy with server.basePath set accordingly. The integration was just installed and deployed. The problem raised after navigating to Analitycs -> Dashboards -> any dashboard provided by the integration (e.g. [Network Packet Capture] MongoDB) -> clicking on any embedded links under Table of Contents (e.g. General Overview).

What did you see?

HTTP Error 404. The redirect is towards /app/dashboards#/view/... which doesn't contain the base path of Kibana. Also, this applies to /app/security/explore and /app/integrations/detail/network_traffic/overview links.

What did you expect to see?

To be redirected to /<server.basePath>/app/dashboards#/view/....

Anything else?

I saw that many integrations still have this problem, I found this issue which is pretty much the same but on the elastic_agent integration. This commit had fixed the problem there but because it only had dashboard links and the same logic can be applied here only for dashboard links but not for /app/security/explore and /app/integrations/detail/network_traffic/overview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions