Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo customisation #150

Closed
cyb3n3tic opened this issue Feb 6, 2023 · 2 comments
Closed

Logo customisation #150

cyb3n3tic opened this issue Feb 6, 2023 · 2 comments
Labels
arkime Relating to Malcolm's use of Arkime dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request

Comments

@cyb3n3tic
Copy link

Hi,

Is it possible to customise the logo/branding? Looking at options to add internal team logo or environment indicators (Prod/Dev/Demo) for instance.

@mmguero mmguero added enhancement New feature or request dashboards Relating to Malcolm's OpenSearch Dashboards interface arkime Relating to Malcolm's use of Arkime labels Feb 13, 2023
@mmguero
Copy link
Collaborator

mmguero commented Feb 13, 2023

At the moment we don't have this feature, but thanks for the suggestion. I've marked this issue with the enhancement label and we'll look into implementing it in a future release.

In the meantime, I did a quick grep to see where we're putting Malcolm icons/logos into the Docker images:

$ grep -iP "\.(ico|png|jpe?g)" ./Dockerfiles/*
./Dockerfiles/dashboards.Dockerfile:ADD docs/images/favicon/favicon.ico /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon.ico
./Dockerfiles/dashboards.Dockerfile:ADD docs/images/favicon/favicon16.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon-16x16.png
./Dockerfiles/dashboards.Dockerfile:ADD docs/images/favicon/favicon32.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/favicon-32x32.png
./Dockerfiles/dashboards.Dockerfile:ADD docs/images/favicon/apple-touch-icon-precomposed.png /usr/share/opensearch-dashboards/src/core/server/core_app/assets/favicons/apple-touch-icon.png
./Dockerfiles/file-upload.Dockerfile:ADD docs/images/logo/Malcolm_banner.png /var/www/upload/Malcolm_banner.png
./Dockerfiles/htadmin.Dockerfile:ADD docs/images/favicon/favicon.ico /var/www/htadmin/
./Dockerfiles/name-map-ui.Dockerfile:COPY docs/images/logo/Malcolm_banner.png /var/www/html/
./Dockerfiles/name-map-ui.Dockerfile:COPY docs/images/favicon/favicon.ico /var/www/html/
./Dockerfiles/nginx.Dockerfile:ADD docs/images/icon/favicon.ico /usr/share/nginx/html/favicon.ico

I suppose you could either 1) rebuild the images replacing these with your own files or 2) override them with a Docker bind mount at runtime. OpenSearch dashboards provides some [ability to do branding](https://opensearch.org/docs/latest/dashboards/branding but I can't figure out a way
to specify the entries in the opensearch_dashboards.yml such that they are valid BOTH from the internal opensearch code validating them AND the web browser retrieving them, which is why I simply override them.

@cyb3n3tic
Copy link
Author

Thanks for the pointers, would certainly be a cool addition if you manage it one day. You keep adding excellent features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arkime Relating to Malcolm's use of Arkime dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request
Projects
Status: Someday
Development

No branches or pull requests

2 participants