Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VPR: Add attribute for ecs default #1128

Merged
merged 3 commits into from
Oct 1, 2021

Conversation

karenzone
Copy link
Contributor

@karenzone karenzone commented Aug 4, 2021

Release notes

[rn:skip]

What does this PR do?

Adds and links shared attribute file for accurately stating ecs default status for the Versioned Plugin Reference.

Design intent/usage

We can add/update text related to ecs defaults (or other info we want to write once and use multiple places). Then, we can reference it by calling the attribute. In this case {ecs-default}.

Important: This work mirrors a corresponding change for the Logstash Reference.

Potential gotchas

The Versioned Plugin Reference isn't stack versioned. This detail could make consistent messaging across plugins and versions tricky. If we apply this attribute and then change the text, the new text will be applied to every version (past, present, and future) of every plugin using the attribute.

One possibility: introduce a new attribute for each major change to messaging, and replace the old attribute with the new one in the source file. Then the updated messaging will be applied only to applicable plugin versions and newer.

ToDo

  • Add note to attribute file describing how to manage [lack of] versioning for attributes in the VPR. (See previous section.)

Related: elastic/logstash#13083

Test set: #1161
PREVIEW: https://logstash-docs_1161.docs-preview.app.elstc.co/guide/en/logstash-versioned-plugins/current/v1.3.0-plugins-inputs-azure_event_hubs.html#_test_attribute_here

@karenzone karenzone requested a review from yaauie September 27, 2021 23:41
Copy link
Member

@yaauie yaauie left a comment

Choose a reason for hiding this comment

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

🌮 LGTM

@karenzone karenzone merged commit d07a45a into elastic:versioned_plugin_docs Oct 1, 2021
@karenzone karenzone deleted the vpr-add-ecs-attr branch October 1, 2021 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants