30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
[[index-patterns-api]]
|
|
== Index patterns APIs
|
|
|
|
experimental[] Manage {kib} index patterns.
|
|
|
|
WARNING: Do not write documents directly to the `.kibana` index. When you write directly
|
|
to the `.kibana` index, the data becomes corrupted and permanently breaks future {kib} versions.
|
|
|
|
WARNING: Use the index patterns API for managing {kib} index patterns instead of lower-level <<saved-objects-api, saved objects API>>.
|
|
|
|
The following index patterns APIs are available:
|
|
|
|
* Index patterns
|
|
** <<index-patterns-api-get, Get index pattern API>> to retrieve a single {kib} index pattern
|
|
** <<index-patterns-api-create, Create index pattern API>> to create {kib} index pattern
|
|
** <<index-patterns-api-update, Update index pattern API>> to partially updated {kib} index pattern
|
|
** <<index-patterns-api-delete, Delete index pattern API>> to delete {kib} index pattern
|
|
* Default index pattern
|
|
** <<index-patterns-api-default-get, Get default index pattern API>> to retrieve a default index pattern
|
|
** <<index-patterns-api-default-set, Set default index pattern API>> to set a default index pattern
|
|
* Fields
|
|
** <<index-patterns-fields-api-update, Update index pattern field>> to change field metadata, such as `count`, `customLabel` and `format`
|
|
|
|
include::index-patterns/get.asciidoc[]
|
|
include::index-patterns/create.asciidoc[]
|
|
include::index-patterns/update.asciidoc[]
|
|
include::index-patterns/delete.asciidoc[]
|
|
include::index-patterns/default-get.asciidoc[]
|
|
include::index-patterns/default-set.asciidoc[]
|
|
include::index-patterns/update-fields.asciidoc[]
|