I’ve forked Kibana from GitHub - elastic/kibana: Your window into the Elastic Stack and I’m working off v7.7.0. I’ve started opendistro ES (to work with the kibana version I’m targeting):
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:1.8.0
Then I try to run kibana locally from my desktop, using this config:
server.name: kibana
server.host: "0"
elasticsearch.hosts: https://localhost:9200
elasticsearch.username: kibanaserver
elasticsearch.password: kibanaserver
elasticsearch.requestHeadersWhiteList: ["securitytenant", "Authorization"]
# I copied the pems' out of the opendistro ES containter
elasticsearch.ssl.verificationMode: none
elasticsearch.ssl.key: /path/to/kirk-key.pem
elasticsearch.ssl.certificate: /path/to/kirk.pem
elasticsearch.ssl.certificateAuthorities: ["/path/to/root-ca.pem"]
opendistro_security.multitenancy.enabled: false
opendistro_security.multitenancy.tenants.preferred: ["Private", "Global"]
opendistro_security.readonly_mode.roles: ["kibana_read_only"]
opendistro_security.cookie.secure: false
newsfeedd.enabled: false
telemetry.optIn: false
telemetry.enabled: false
When I start kibana with yarn start
I see a warning “License information could not be obtained from Elasticsearch due to [invalid_index_name_exception] Invalid index name [xpack], must not start with ''…”
Followed by:
[fatal][root] { Error: [mapper_parsing_exception] No handler for type [flattened] declared on field [state]`
Then kibana crashes.
No errors in the ES logs.
Any suggestions?
Thanks