lizozom / custom-kibana-theme Goto Github PK
View Code? Open in Web Editor NEWCustomize Kibana's appearance (logos, icons, texts and more)
Customize Kibana's appearance (logos, icons, texts and more)
logo on the space seletor page still default
could you add functionality to change the "Search Elastic" text that appears at the top of the homepage?
After building the plugin for 8.7, it seems to work with Kibana in development mode running on my local machine.
When I try to add this plugin to our 8.7.0 instance running in Docker, I get the following error when I try to connect to Kibana:
Here is the Dockerfile that I am using to build the container
ARG BASE_REGISTRY=docker.elastic.co
ARG BASE_IMAGE=kibana/kibana
ARG BASE_TAG=8.7.0
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} AS builder
ARG BASE_TAG
USER kibana
COPY kbnSankeyVis-${BASE_TAG}.zip /tmp
COPY customKibanaTheme-${BASE_TAG}.zip /tmp
RUN bin/kibana-plugin install file:///tmp/kbnSankeyVis-${BASE_TAG}.zip && \
bin/kibana-plugin install file:///tmp/customKibanaTheme-${BASE_TAG}.zip
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
COPY --from=builder /usr/share/kibana/plugins plugins/
RUN bin/kibana --optimize
If I remove just the customKibanaTheme plugin, everything builds and runs fine.
Thanks again for making this its truley useful!
The login form text and logo are no longer updating. Any help or advice for how to remedy would be really appreciatted please
I was looking to build on the work you have start with this plugin and ran into an issue loading it up in the Kibana 8.2 development environment. While Kibana was running, I cloned your repo and copied it to the plugin folder in the Kibana repo and Kibana restarted due to the new files in the this folder. Unfortunately, it didn't show the updates to the Kibana login or loading page logo and text when I navigate to localhost:5601.
Maybe 8.2 has change its scss since you have created this plugin? Maybe I need to do something more than just copy your repo into the plugin folder?
If I am correct, the login page scss file is https://github.com/elastic/kibana/blob/main/x-pack/plugins/security/public/authentication/login/login_page.scss. This file hasn't changed for the last several revisions, therefore I assume I've "installed" improperly into the development environment.
Any ideas what I have done wrong?
BTW: I have followed the getting stated instructions found here: https://www.elastic.co/guide/en/kibana/current/development-getting-started.html#development-getting-started and Elasticsearch and Kibana are running without any reported issues outputted to the console.
I created the zip file for Version 7.10.2
Installed into a fresh vanilla Kibana installation
tan@omega:~/test/elastic/kibana-7.10.2-linux-x86_64$ bin/kibana
log [08:32:02.770] [error][plugins-service] { Error: Manifest for plugin "customKibanaTheme" contains the following unrecognized properties: owner,description,enabledOnAnonymousPages. (invalid-manifest, /home/tan/test/elastic/kibana-7.10.2-linux-x86_64/plugins/customKibanaTheme/kibana.json)
at Function.invalidManifest (/home/tan/test/elastic/kibana-7.10.2-linux-x86_64/src/core/server/plugins/discovery/plugin_discovery_error.js:55:12)
at parseManifest (/home/tan/test/elastic/kibana-7.10.2-linux-x86_64/src/core/server/plugins/discovery/plugin_manifest_parser.js:151:56)
type: 'invalid-manifest',
path:
'/home/tan/test/elastic/kibana-7.10.2-linux-x86_64/plugins/customKibanaTheme/kibana.json',
cause:
Error: Manifest for plugin "customKibanaTheme" contains the following unrecognized properties: owner,description,enabledOnAnonymousPages.
at parseManifest (/home/tan/test/elastic/kibana-7.10.2-linux-x86_64/src/core/server/plugins/discovery/plugin_manifest_parser.js:151:86) }
log [08:32:02.785] [fatal][root] Error: Failed to initialize plugins:
Manifest for plugin "customKibanaTheme" contains the following unrecognized properties: owner,description,enabledOnAnonymousPages. (invalid-manifest, /home/tan/test/elastic/kibana-7.10.2-linux-x86_64/plugins/customKibanaTheme/kibana.json)
at PluginsService.handleDiscoveryErrors (/home/tan/test/elastic/kibana-7.10.2-linux-x86_64/src/core/server/plugins/plugins_service.js:122:13)
FATAL Error: Failed to initialize plugins:
Manifest for plugin "customKibanaTheme" contains the following unrecognized properties: owner,description,enabledOnAnonymousPages. (invalid-manifest, /home/tan/test/elastic/kibana-7.10.2-linux-x86_64/plugins/customKibanaTheme/kibana.json)
I have tried this plugin in Kibana's development environment and creating a plugin and installing it to Kibana 8.2.0, but the login page does not update with new logo and text. (Does the login page logo and text display properly for you in version 8.2.0+?)
I thought something had change (like a change in the class name) so I was going to update the index.scss to reflex it, but that was not the case.
In the last few version, the area of interest in file login_page.tsx in 8.2.0 here has not changed.
Maybe I'm looking at the wrong file? Or maybe I'm doing something wrong again? Looking for a bit of guidance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.