Skip to content

Update logstash-management.json to use typeless template#38653

Merged
jakelandis merged 2 commits intoelastic:masterfrom
jakelandis:logstash_central_config_remove_types
Mar 7, 2019
Merged

Update logstash-management.json to use typeless template#38653
jakelandis merged 2 commits intoelastic:masterfrom
jakelandis:logstash_central_config_remove_types

Conversation

@jakelandis
Copy link
Copy Markdown
Contributor

This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation. The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related #38637


This commit should not be merged until elastic/kibana#30546 and elastic/logstash#10421 are merged. Also, this change should only be back ported to the same versions as Kibana and Logstash's respective versions.

Adding WIP label until those other PR's are merged.

This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation.  The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related elastic#38637
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

@jakelandis
Copy link
Copy Markdown
Contributor Author

@elasticmachine run elasticsearch-ci/default-distro

@jakelandis jakelandis removed the WIP label Mar 7, 2019
@jakelandis jakelandis requested a review from jpountz March 7, 2019 21:37
@jakelandis
Copy link
Copy Markdown
Contributor Author

@jpountz The Kibana elastic/kibana#30546 and Logstash elastic/logstash#10421 to use the typeless API's have been merged, so this change is safe and ready for review.

@jakelandis jakelandis merged commit 19b184d into elastic:master Mar 7, 2019
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Mar 8, 2019
This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation.  The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related elastic#38637
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Mar 8, 2019
This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation.  The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related elastic#38637
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Mar 8, 2019
* elastic/master:
  Add pre-upgrade check to test cluster routing allocation is enabled (elastic#39340)
  Update logstash-management.json to use typeless template (elastic#38653)
  Small simplifications to mapping validation. (elastic#39777)
  Update distribution build instructions to reflect file names with OS/architecture classifiers. (elastic#39762)
  Give jspawnhelper execute permissions in bundled JDK (elastic#39787)
  Maintain step order for ILM trace logging (elastic#39522)
  [ML-DataFrame] fix wire serialization issues in data frame response objects (elastic#39790)
  fix index refresh in test within 20_mix_typeless_typeful (elastic#39198)
  Combine overriddenOps and skippedOps in translog (elastic#39771)
jakelandis added a commit that referenced this pull request Mar 8, 2019
…9819)

This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation.  The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related #38637
jakelandis added a commit that referenced this pull request Mar 8, 2019
…9820)

This commit changes the type from "doc" to "_doc" for the
.logstash-management template. Since this is an internally
managed template it does not always go through the REST
layer for it's internal representation.  The internal
representation requires the default "_doc" type, which for
external templates is added in the REST layer.

Related #38637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants