REST API Saved Objects attribute set?

I am successfully using https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html to create a default setup for Kibana, posting something as trivial as

[{
"type": "index-pattern",
"attributes": {
"title": "file*",
"timeFieldName": "@timestamp"
}
}]

Is there any documentation on the set of attributes that can be set?

I realize that I could "do something", then export it, inspect it, tweak it ... Is there a more formal path?

My use case is that I want to cycle an environment - including ELK - in a fully automated fashion. Right now, I am looking into delivering the best possible Kibana experience after a docker-compose up.

Hello,
There is no documentation currently for the shape of the documents per type. I suspect that will come in the future when we add per type validation.
Also this might be of some interest to you https://github.com/elastic/stack-docker -- an inspiration for running the stack with docker compose.

Cheers
Rashmi

Hi
How can I use the Kibana Migration Assistant to migrate to Kibana 6.1.3? Tried to use the command curl -XPOST -H "Content-Type: application/json" -H "kbn-xsrf: true" localhost:5601/api/kibana/settings/defaultIndex -d '{"value": "your-index-id"}' but it failed.

Thanks,
David

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