Giter Site home page Giter Site logo

custom-kibana-theme's People

Contributors

amphagory avatar kaismax avatar lizozom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

custom-kibana-theme's Issues

Doesn't Run on 8.7.0 in Docker

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:

image

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.

Help setting up Kibana development environment

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.

Plugin installation fails for Kibana 7.10.2

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)

Login page does not update with new logo and text

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.