Can't connect to elasticsearch with kibana

I just installed elasticsearch and kibana but when i try to start kibana i get this error
"Error: [mapper_parsing_exception] No handler for type [flattened] declared on field [state]".
How do i fix this?

Welcome! :smiley:

Is there anything in your Elasticsearch logs at that time that might be related?

There's also this log
" [warning][license][xpack] License information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. [invalid_index_name_exception] Invalid index name [ xpack]".

What version of the stack are you using?

Version 7.7

What documentation did you follow to install it?

Can you call the GET /_license API?

"license" : {
"status" : "active",
"uid" : "",
"type" : "basic",
"issue_date" : "2020-05-20T20:32:13.487Z",
"issue_date_in_millis" : 1590006733487,
"max_nodes" : 1000,
"issued_to" : "elasticsearch",
"issuer" : "elasticsearch",
"start_date_in_millis" : -1

}

i followed the steps on the elasticsearch website to install it.

I still haven't been able to get it to work. Is there nothing i can do?

Did you download the default distributions of both Kibana and Elasticsearch?

yes i did, i'm also able to connect to my elasticsearch from kibana on another computer.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.