Hi all,
Currently, I'm trying to use Kibana with shield, but when I execute the command:
curl -u es_admin -XPOST 'http://localhost:9200/logstash-/user/kibana-server'
-d '{"password" : "mypassword", "roles" : [ "kibana4_server"]}'
'logstash-' is the index I created, I got an error:
{"error":{"root_cause":[{"type":"invalid_index_name_exception","reason":"Invalid index name [logstash-], must not contain the following characters [\, /, , ?, ", logstash-"}],"type":"invalid_index_name_exception","reason":"Invalid index name [logstash-], must not contain the following characters [\, /, *, ?, ", <, >, |, ,},"status":400}
before this, I have done following:
- bin/plugin install license
- bin/plugin install shield
- bin/elasticsearch
- bin/shield/esusers useradd es_admin -r admin
At this time , I executed the command 'curl -u es_admin -XGET "http://localhost:9200/"', get these:
{
"name" : "node-1",
"cluster_name" : "my-application",
"version" : {
"number" : "2.3.1",
"build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
"build_timestamp" : "2016-04-04T12:25:05Z",
"build_snapshot" : false,
"lucene_version" : "5.5.0"
},
"tagline" : "You Know, for Search"
} - /usr/local/elasticsearch/bin/shield/esusers useradd kibana4-server -r kibana4_server -p password
I don't know how to resolve this problem. Do I have missed some configures or have configured wrong info?
I'm new to plugin shield and elk. So would you please help me to give me any solutions and advices?