Allow setting the type in the reroute processor#122409
Conversation
This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset` and `namespace`, the type defaults to the value extracted from the index name. This means that documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type. Resolves elastic#121553
|
Documentation preview: |
|
Warning It looks like this PR modifies one or more |
|
Hi @dakrone, I've created a changelog YAML for you. |
|
Warning It looks like this PR modifies one or more |
|
Assuming no other blocking things, I can remove the docs part of this and do it in a separate PR after the docs migration. |
|
Pinging @elastic/es-data-management (Team:Data Management) |
|
Warning It looks like this PR modifies one or more |
lukewhiting
left a comment
There was a problem hiding this comment.
LGTM 👍🏻 Clean with decent tests. Just the ASCIIDocs warning outstanding but looks like you have that in hand.
|
Warning It looks like this PR modifies one or more |
* Allow setting the `type` in the reroute processor This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset` and `namespace`, the type defaults to the value extracted from the index name. This means that documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type. Resolves elastic#121553 * Update docs/changelog/122409.yaml
* Allow setting the `type` in the reroute processor This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset` and `namespace`, the type defaults to the value extracted from the index name. This means that documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type. Resolves elastic#121553 * Update docs/changelog/122409.yaml
* Allow setting the `type` in the reroute processor This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset` and `namespace`, the type defaults to the value extracted from the index name. This means that documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type. Resolves #121553 * Update docs/changelog/122409.yaml
* Allow setting the `type` in the reroute processor This allows configuring the `type` from within the ingest `reroute` processor. Similar to `dataset` and `namespace`, the type defaults to the value extracted from the index name. This means that documents sent to `logs-mysql.access.default` will have a default value of `logs` for the type. Resolves #121553 * Update docs/changelog/122409.yaml
This allows configuring the
typefrom within the ingestrerouteprocessor. Similar todatasetandnamespace, the type defaults to the value extracted from the index name. This means that documents sent tologs-mysql.access.defaultwill have a default value oflogsfor the type.Resolves #121553