Skip to content

Uptime integration links incorrect (when server.basePath set?) #42431

@OrangeDog

Description

@OrangeDog

Kibana version:
7.3.0

Elasticsearch version:
7.3.0

Server OS version:
Ubuntu 18.04.2

Browser version:
Firefox 68.0.1

Browser OS version:
Windows 10 (1803)

Original install method (e.g. download page, yum, from source, etc.):
https://artifacts.elastic.co/packages/7.x/apt

Describe the bug:
Links generated for uptime integration are protocol-relative without hostname.
For example "Show host logs" is //kibana/app/infra.

Steps to reproduce:

  1. Configure Uptime (heatbeat)
  2. Attempt to use Uptime integration links

Expected behavior:
URL should be /kibana/app/infra, //example.com/kibana/app/infra, or https://example.com/kibana/app/infra

Any additional context:
The config has server.basePath: /kibana. I'm guessing it hasn't accounted for the leading slash.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions