diff --git a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.preview_transform.json b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.preview_transform.json index d96399d6e3c0d..077237867205e 100644 --- a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.preview_transform.json +++ b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.preview_transform.json @@ -1,19 +1,15 @@ { "transform.preview_transform": { "data_autocomplete_rules": { - "source": { + "description": "", + "dest": { "__template": { - "index": "SOURCE_INDEX_NAME" + "index": "DESTINATION_INDEX_NAME" }, - "index": "", - "query": { - "__scope_link": "GLOBAL.query" - } - }, - "settings": { - "docs_per_second": null, - "max_page_search_size": 500 + "index": "DESTINATION_INDEX_NAME", + "pipeline": "" }, + "frequency": "1m", "pivot": { "group_by": { "__template": { @@ -27,6 +23,32 @@ }, "__scope_link": "GLOBAL.aggregations" } + }, + "settings": { + "__template": { + "docs_per_second": null, + "max_page_search_size": 500 + } + }, + "source": { + "__template": { + "index": "SOURCE_INDEX_NAME" + }, + "index": "SOURCE_INDEX_NAME", + "query": { + "__scope_link": "GLOBAL.query" + } + }, + "sync": { + "__template": { + "time": { + "field": "" + } + }, + "time": { + "field": "", + "delay": "60s" + } } } } diff --git a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.put_transform.json b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.put_transform.json index 20d9eadb506c9..6fd79ebebe1d8 100644 --- a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.put_transform.json +++ b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.put_transform.json @@ -25,8 +25,10 @@ } }, "settings": { - "docs_per_second": null, - "max_page_search_size": 500 + "__template": { + "docs_per_second": null, + "max_page_search_size": 500 + } }, "source": { "__template": { diff --git a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.update_transform.json b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.update_transform.json index 87cd13ff2f9e2..d250cca4bab28 100644 --- a/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.update_transform.json +++ b/x-pack/plugins/console_extensions/server/lib/spec_definitions/json/overrides/transform.update_transform.json @@ -4,21 +4,37 @@ "description": "", "dest": { "__template": { - "index": "" + "index": "DESTINATION_INDEX_NAME" }, - "index": "", + "index": "DESTINATION_INDEX_NAME", "pipeline": "" }, "frequency": "1m", + "pivot": { + "group_by": { + "__template": { + "NAME": {} + }, + "__scope_link": "GLOBAL.groupByAggs" + }, + "aggregations": { + "__template": { + "NAME": {} + }, + "__scope_link": "GLOBAL.aggregations" + } + }, "settings": { - "docs_per_second": null, - "max_page_search_size": 500 + "__template": { + "docs_per_second": null, + "max_page_search_size": 500 + } }, "source": { "__template": { - "index": "" + "index": "SOURCE_INDEX_NAME" }, - "index": "", + "index": "SOURCE_INDEX_NAME", "query": { "__scope_link": "GLOBAL.query" }