Discuss topics related to automated index state management. Hi,
I am using this curl call to create and index pattern in kibana in the global tenant.
curl -u 'admin:xxxxxxxx' -v -X POST -k https://localhost:9200/api/saved_objects/index-pattern/ \
-H "kbn-xsrf: true"\
-H "content-type: application/json; charset=utf-8"\
-H "securitytenant: global_tenant"\
-H "user-agent: create-role.py/0.0.1"\
-d '{"attributes": {"title":"logger-*","timeFieldName":"@timestamp"} }'
The curl command run successfully and here is the answer
{
"_index":"api",
"_type":"saved_objects",
"_id":"index-pattern",
"_version":1,
"result":"created",
"_shards":{
"total":2,
"successful":1,
"failed":0
},
"_seq_no":0,
"_primary_term":1
}
However when I connect to kibana (opendistro) the new created index pattern is no where to be find
in the index-pattern dashboard both with the global and the admin tenant
What am I missing here please ?