-
Notifications
You must be signed in to change notification settings - Fork 439
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
Allow routing for integrations that are not input packages #6255
Comments
A list of other possible datastream to consider:
and integrations that maybe should be input packages instead. If we convert any of these to input package instead, they would inherit those changes by default
|
hello @felixbarny and @ruflin can we agree on the "final" list of datastreams to apply the above flags to? So far my suggested list of packages to edit includes:
Do we want to modify all the above in a single PR? Should we consider the below packages as well? These are packages that should probably be input packages but they are not yet.
|
I think so, yes. It seems to be too much overhead to create individual PRs for that that each just add two additions to the manifest.
Yes! |
I have a slightly different view on the above. I don't think we should extend existing packages if these are not already input packages. For kubernetes, lets rather create an input package for |
We're not talking about adding routing rules here. This issue is just about adding flags to allow routing so that user can add their routing rules if they want. If we don't do that, they'll hit API key permission issues. |
Had a quick chat about this with @felixbarny to clarify things on my end. We agree to progress with the above proposal . We need to have a follow up discussion on having a new input package for example for One concern I had is that it we add the flags to One question for the second list: What is the effort of converting these to an input package instead of adding the configs? |
my thoughts.
Should I create an issue about this?
I can have a look. I'm not sure yet are the API keys accessible in the UI or the API but I will investigate this
I assume we would create a separate input package with a non conflicting name instead of modifying the current package. is that correct? About how long will it take, I am not sure. It looks easy but there might be unknown unknowns that I am not aware of. |
Would be great.
No, the idea was to convert it to an input package. I know we have done that for some packages as input packages didn't exist for some time. @ishleenk17 might know more here. |
There have been both scenarios. New input packages have been created (jolokia_input, statsd_input, sql_input, prometheus_input) since these didn't exist before. For some scenarios, existing were converted to input packages. Eg: Journald. If there is an existing integration, converting it to input package would take lesser effort. |
@ishleenk17 Is there any guide on how to convert a package to an input package? Anything specific to worry about? |
There is no guide as such. An initial document which i referred to when I built the first input package. You can see jolokia input package for reference. While converting a package to input package below are the numero-uno points to be kept in mind.
|
@ruflin , I created two follow up issues (linked above) from the discussion that we had here. |
Will this be eventually added to all integration packages? |
We were thinking to add elevated API key permissions to allow for routing to all input packages (see #5989) and to select other packages (this issue). Most of the packages listed in this issue ought to be input packages but it's not in scope of this particular issue to convert them. |
Implemented in #6340 |
We want to add the following settings to enable rerouting to a different dataset or namespace
In this case, we want to add those settings to the following list of datastream:
Those settings are already allowed at datastream level in the package-spec.
Data streams that are already very specific, such as nginx.access are not candidates for now.
Similar work has already been done for input packages at #5989.
The text was updated successfully, but these errors were encountered: