Hello,
I would like to present images from the kibana/elastic server in a dashboard or in a canvas workpad.
There are a few discussions around this but none worked for me.
In this discussion the URL given is /usr/share/kibana/src/ui/public/assets/favicons/image.png which does not exist in version 7.9
I did find this path - /usr/share/kibana/src/core/server/core_app/assets/images/image.png
And tried in the markdown -
First, your URL is incorrect: you wouldn't include /usr/share/kibana/[etc], because that is the directory on your file system, not to an exposed URL directory in Kibana.
I would recommend looking at the other recommendation in that thread:
The better option, assuming you don't want to serve the image from some other service, would be to expose it via a Kibana plugin. That way you could easily upgrade Kibana and just re-install that plugin instead of modifying all the Kibana source again. The plugin would just need to use the same server.exposeStaticDir method to expose a path inside the plugin. Bundle the image into your plugin, install it into Kibana, and now you can have the image hosted inside of Kibana. If you don't want to bundle the image, you could just have it serve assets from another path too, but that's a little more prone to breaking (if you change servers, for example).
I would refer to this discuss topic for details on properly exposing static images from a plugin, as well.
@clintandrewhall
Thanks for the answer.
I don't want to use a plugin.
Also, tried part URL, not the whole one as described in the main post. The outcome is the same.
Unless I have a very bad syntax issue, not sure what's going on.
Can you advise on the correct syntax?
Cheers!
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.