kibana-cli

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: EUPL-1.2 Imports: 2 Imported by: 0

README

Kibana/Elastic command line tools

Purpose of this tool is to automate configuration of Kibana and Elastic.

The tool supports multiple commands using a subcommands approach.

How to use

kibana-cli <subcommand>

You can also run the tool in a docker image:

IMAGE=registry.gitlab.com/logius/cloud-native-overheid/components/kibana-cli:latest
docker run --rm \
    -v $PWD/examples:/examples \
    $IMAGE configure-space --config=examples/tenant.config.yaml

The following subcommands are available:

Subcommand Description
configure-space Configure Kibana Space

Configure Space

The configure-space subcommand initializes a Kibana space for a tenant or customer. Index patterns are created for the namespaces of this tenant. Roles are configured in the Kibana space with an optional mapping to OIDC groups.

Commandline variables:

Variable Description
config Path to customer configfile
url Kibana FQDN including protocol, e.g. https://kibana.sample.com
realm OIDC realm
platform_prefix Platform prefix, e.g. 'sp'

For an example of the customer config file see the examples folder.

Environment variables

Variable Description
KIBANA_USERNAME Kibana/Elastic username
KIBANA_PASSWORD Kibana password

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL