Hi,
I'm trying to create a new index pattern using the Kibana API and from Dev tools I'm executing this simple code reproduced from the documentation:
POST api/saved_objects/index-pattern/testpattern
{
"attributes": {
"title": "testpattern-*"
}
}
The response I'm getting is the following:
{
"error": "no handler found for uri [/api/saved_objects/index-pattern/testpattern] and method [POST]"
}
Any ideas what I'm doing wrong please? My apologizes for my ignorance but this is the first time using this command and with other I've worked but with this one I can't quite get the hold of it. My final goal is to import a whole index-pattern.
Any help is appreciated.
Thanks