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

Implicit data_stream.dataset variable in input packages #656

Open
andrewkroh opened this issue Oct 31, 2023 · 0 comments
Open

Implicit data_stream.dataset variable in input packages #656

andrewkroh opened this issue Oct 31, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Oct 31, 2023

It should be documented what implicit variables are available to handlebar templates for input packages. Input packages appear to be able to reference an {{data_stream.dataset}} despite it not being declared within any manifest. We should document this so that developers can discover its existence through the package-spec. For example:

https://github.com/elastic/integrations/blob/80579aa022841f78d5020a274ef103249f6af810/packages/sql_input/agent/input/input.yml.hbs#L14-L15

It should be noted that some input packages do explicitly declare the variable (maybe they shouldn't be doing this?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant