dockerized-kibana icon indicating copy to clipboard operation
dockerized-kibana copied to clipboard

Support for Kibana 7.9.0

Open sarahadzic opened this issue 4 years ago • 2 comments

Hello, not really an issue, but I cannot find something like this

# Modify logoKibana in vendorsDynamicDLL to be empty. Custom icon will be set as background-image in gradiant_style plugin css
RUN sed -i 's@evenodd"}.*)))};@evenodd"}))};@g' /usr/share/kibana/built_assets/dlls/icon.logo_kibana-js.bundle.dll.js

in Kibana 7.9.0-oss version...

Can you help?

sarahadzic avatar Aug 28 '20 09:08 sarahadzic

Hi, Try to work from latest supported version 7.6.x in branch 7.6.

The modification for this version is:

RUN sed -i 's@evenodd"}.*)))},@evenodd"}))},@g' /usr/share/kibana/node_modules/@kbn/ui-shared-deps/target/icon.logo_kibana-js.js

Kibana logo is created with the following code snippet in the icon.logo_kibana-js.js. We use sed to remove it.

l.a.createElement("path",{fill:"#F04E98",d:"M4 0
v28.789L28.935.017z"}),l.a.createElement("path",{className:"euiIcon__fillNegative",d:"M4 12v16.789l11.906-13.738A24.721 24.721 0 004 
12"}),l.a.createElement("path",{fill:"#00BFB3",d:"M18.479 16.664L6.268 30.754l-1.073 1.237h23.191c-1.252-6.292-4.883-11.719-9.908-15.
327"})))},c=i;i.__docgenInfo={description:"",methods:[],displayName:"EuiIconLogoKibana"}}

The file no longer exists in Kibana 7.9.0 but there are several new files in the /usr/share/kibana/node_modules/@kbn/ui-shared-deps/target that can be related to the kibana logo.

Hope that helps,

cgiraldo avatar Aug 31 '20 08:08 cgiraldo

That's a pretty good article: https://discuss.elastic.co/t/custom-logo-kibana-7-9-2-guide/250814

hanswieheiri avatar Jun 01 '21 13:06 hanswieheiri