Hi Team,
I made custom logo changes in these files "template.js", security.chunk.4.js" and "core.entry.js" and generated the file (gz and br) with npx. [Steps from this post - Custom Logo Kibana 7.10.0 (guide)]
The logo changes are working fine when accessed directly on the server machine (http://localhost:5601), but the logo changes failed to reflect when tried to access externally from other machines (http://public-ip:5601).
Tried deleting cookies, browser data, temp, %temp%, incognito mode, other browsers (edge, mozilla) and from other machines (colleagues). I'm pretty much convinced that the issue is not on the client side, but not sure what else could be causing it.
I found that, The changes are reflecting when accessed with the machine DNS name.
But, The changes are not reflecting when same instance is accessed with public IP.
new update:
I thought it will get fix once we restart the machine, But after restart, Elastic search is not getting started. throwing error like: failed to retrieve password hash for reserved user [elastic]
Well this would be a very complex change working on the build version, you might think of checking out Kibana from source, make those changes, start you own build for that.
I found this code in security.chunk.4.js. related to "xpack.security.loginPage.welcomeTitle".
external_kbnSharedDeps_React_default.a.createElement(external_kbnSharedDeps_ElasticEui_["EuiTitle"],{size:"m",className:"loginWelcome__title"},external_kbnSharedDeps_React_default.a.createElement("h1",null,external_kbnSharedDeps_React_default.a.createElement(external_kbnSharedDeps_KbnI18nReact_["FormattedMessage"],{id:"xpack.security.loginPage.welcomeTitle",defaultMessage:"Welcome to Device Name Performance Monitoring Tool"}))),
What we would like to get is "defaultMessage:"Welcome to Device Name Performance Monitoring Tool"" need spilt into two lines after Device Name, that is text "Performance Monitoring Tool" should come in next line with small font size.
Hi
You still work on the compiled code, you'd need to have a look at the source code
Theoretically, if you still would like to hack on the compiled one, you could duplicate the function creating the element, and change the text.
Best,
Matthias
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.