openshift/origin-kibana

Name: origin-kibana

Owner: OpenShift

Description: null

Created: 2015-09-02 13:30:53.0

Updated: 2018-05-15 01:59:54.0

Pushed: 2018-05-10 16:08:18.0

Homepage: null

Size: 1534

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

origin-kibana

This repo provide a plugin to the Kibana Visualization tool to add OpenShift specific requirements. The main features added by this plugin are:

Overriding Styles The plugin adds an empty stylesheet `$PLUGIN/public/styles/overrides.css' as a hook for users to modify the styles. After deployment, you might wish to modify the header style to include a custom header logo:

tainer-brand {
rgin-top: 3px;
ight: 11px;
ckground-image: url("../images/my-custom-image.svg");
ckground-size: 111px 11px;
ckground-repeat: no-repeat;

This stylesheet is loaded after the main stylesheet provided by the plugin.

Currently compatible with the 5.6.x code stream of Kibana

Hacking the code
Current supported fragment parameters

When linking to kibana with the origin-kibana plugin you can control the container name and link back to the main console by setting the following parameters in the document hash:

| parameter | Description| | —— | ——| | console_container_name | Used to set the container name text in the header | | console_back_url | Used as the URL in the back link to get back to the main console | | console_auth_token | Contains the authorization token for the user logged into the main console |

Any parameter in the document hash prefixed with console_ will be removed from the document hash once the UI is loaded.

To test it out you can access the kibana console with a URL like:

://localhost:5601/#/dashboard#console_container_name=cookies&console_back_url=http:%2F%2Flocalhost:8443&console_auth_token=wheetoken

Which will modify the UI to:

Kibana OpenShift UI Mod


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.