How to open source maps setting on docker

Hi,
I run kibana on docker and my image version is "docker.elastic.co/kibana/kibana:6.8.0"
But I don't know how to change the setting so that the client javascript of kibana UI have source maps.
Can anyone help?

Hello,

Are you referring to the standard EMS maps that load by default in the Maps application? Your docker container should have the same internet access as its host for most standard container setups. I just pulled down docker container 6.8.1 and didn't see any issues with the default EMS maps loading.

Regards,
Aaron

Hi,

I mean the the source map of minified budle js,so I can trace the javascript source code easier,
thank you!

I configure the kibana.yml as below
optimize:
sourceMaps: true
But kibana's error log told that it can only be "false", I don't know why

The acceptable values for the optimize.sourceMaps setting in kibana.yml are listed in this table. However, I believe source maps are not included in release versions of Kibana such as the docker image you are using.

2 Likes

Thank you so much.
I got it!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.