-
Notifications
You must be signed in to change notification settings - Fork 462
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 input packages #5989
Comments
I did some testing with some nginx access logs. These are the steps that I followed
elasticsearch.dynamic_dataset: true
elasticsearch.dynamic_namespace: true I have also added an entry to the changelog to be able to install the integration locally (via elastic-package and a local package registry) with a custom version and made the required changes to the manifest to point to this new version.
{
"description": "My optional pipeline description",
"processors": [
{
"set": {
"description": "My optional processor description",
"field": "my-long-field",
"value": 10
}
},
{
"reroute": {
"dataset": "test",
"namespace": "test"
}
}
]
} here the field is only to verify that the custom pipeline has been correctly called.
Data is correctly rerouted from one datastream to the other one. There are no failures due to permissions (like in the linked issue without the extra settings). |
A couple of questions for @felixbarny and @ruflin :
|
|
|
The assumption I follow that all input packages should have these broader permissions by default. Custom logs might be a partial exception here but even here, likely users will specify a pattern and mix data together. Now routing happens centrally instead of the edge which should simplify configs. |
a summary of my discussion with @ruflin mostly for @felixbarny
|
The current list of input packages (gathered by searching for
Going forward, for testing purposes I'm going to use |
Maybe we need a separate issue for this but there are also non-input integrations that we should adapt to allow routing. See also point 1 in #5989 (comment). @gsantoro could you create a follow-up issue for that? |
A follow up to make similar changes to datastreams at #6255 |
allow routing to
logs-*-*
by default by changing the api permissionsThese are the flags we can use to request the additional permissions from fleet: elastic/package-spec#327
The text was updated successfully, but these errors were encountered: