I just tested this in the 5.0.0 release and was able to change the kibana.svg logo file and see the results in Kibana. Here's what I did;
I used InkScape to edit src/ui/public/images/kibana.svg and saved it.
I copied that modified file to optimize/bundles/src/ui/public/images on top of the kibana.svg that was there.
I refresh my browser and saw the modified image.
Then, just to be sure, I stopped Kibana, started Kibana, refreshed my browser, and saw the modified image.
Then I stopped Kibana again, deleted everything from the optimize directory, started Kibana, waited for Optimizing to finish, refreshed my browser, and saw the modified image.
I just completed a similar set of steps to change elk.ico in Kibana 4.6.1 on Ubuntu (installed from .deb package);
I edited the icon at /opt/kibana/src/ui/public/images/elk.ico
(if you're on a different platform or just un-tarred the tar.gz your path may be different)
I saved my edit on top of that same elk.ico file.
I copied that file to /opt/kibana/optimize/bundles/src/ui/public/images/elk.ico
I restarted Kibana service (not sure if this was necessary).
I opened Chromium browser and cleared all my cache and history.
I opened Kibana in that browser, and it shows the modified icon on the tab and on bookmarks bar where I just saved it to.
Now I refreshed Kibana in Firefox without closing the tab or clearing history. I see the old tab icon.
I closed that Firefox tab and reopened Kibana and I see the modified icon.
Did the kibana.svg size requirement change in Kibana 5.x version?
I changed it as suggested to 252x45 px and it looks half of the logo place in the top left corner.
You can change it by replacing the file "0cebf3d61338c454670b1c5bdf5d6d8d.svg" present under the directory "/usr/share/kibana/optimize/bundles/".Images with png extension works as well.Refreshing the browser alone is sufficient. Tested on ESv5.4
you can also modify [kibana directory]/src/ui/views/ ui_app.jade
At the line 96: | Loading MY fancy statistics
for edditing you own loading dashboard text
At line 107: include your own style file bundleFile('MY.style.css');
it would look like this: var files = [ bundleFile('commons.style.css'), bundleFile('MY.style.css'), bundleFile('#{app.id}.style.css'), bundleFile('commons.bundle.js'), bundleFile('#{app.id}.bundle.js') ];
and in the path Daya mentioned
"/usr/share/kibana/optimize/bundles/"
include your MY.style.css file.
In your own CSS file you can override every Style you want like
.global-nav .logo-small.kibana, .global-nav .logo.kibana { background-color:#333333; /* override the pink background */ background-image: url(MY_Logo.svg); /* replace kibana Logo */ }
So there is no need to remove any kibana's original files, for your content.
When you modified the .jade files you need to restart Elasticsearch.
After that you can edit your MY.style.css file and simply reload your browser window for styling changes.
I like this technique, but when kibana re-optimizes for whatever reason, the new files go away. Where should the My.style.css and MY_Logo.svg files be put in the kibana/src folder so that they get copied into optimize/bundles during the bundle process?
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.