Hi @oscark
I used your answer, with great success, as follow
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"} }'
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 ?