Skip to content

Cherry-pick #16903 to 7.x: [Agent] Inject index with sane defaults to configuration #17579

Merged
ph merged 1 commit intoelastic:7.xfrom
ph:backport_16903_7.x
Apr 7, 2020
Merged

Cherry-pick #16903 to 7.x: [Agent] Inject index with sane defaults to configuration #17579
ph merged 1 commit intoelastic:7.xfrom
ph:backport_16903_7.x

Conversation

@ph
Copy link
Copy Markdown
Contributor

@ph ph commented Apr 7, 2020

Cherry-pick of PR #16903 to 7.x branch. Original message:

Migrated from: #15852
Build on top of: #15809

Added one extra rule for injecting index into inputs based on provided type and detected namespace/dataset type.

Other option was to use decorator but at the time of decorating there are already some pieces of config missing.

Draft until final configuration format is settled and mentioned PR is in, but READY for review.

It overwrites index specified in input.

Fixes: #15690
Fixes: #15691

cc @ruflin @ph

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

Copy link
Copy Markdown
Contributor

@michalpristas michalpristas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including new config looks OK

Comment thread x-pack/agent/CHANGELOG.asciidoc Outdated
[Agent] Inject index with sane defaults to configuration  (#16903)

(cherry picked from commit 96e4506)
@ph ph merged commit 8412dc6 into elastic:7.x Apr 7, 2020
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.

4 participants