-
Notifications
You must be signed in to change notification settings - Fork 154
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
Config parameters aren't passed through to the shipper output in Beats #2351
Comments
Hmm, I suspect we'd need to add a The other option would be to allow changing this by editing the shipper spec file and have it take effect by restarting the agent. |
@cmacknz / @leehinman could we close this one with the new shipper plan? |
This is still relevant |
I am confused? Everything under the |
This about configuring the internal Beat -> Shipper output and the not the Shipper -> ES/LS output. We do not expose a way to configure the internal Beat shipper output today. |
Followup to this: right now it seems like the most practical way to do this is to include the output policy in both the shipper's output unit and in the output unit of the input component that writes to the shipper. We could then define, internally to the shipper / shipper-output, a certain configuration subtree for the connection writing to the shipper, which can contain the flags discussed here ( |
Closing this as the shipper project has been revisited. |
When ingesting through the shipper via the Beats shipper output, e.g. with a configuration like:
Agent does not pass through
bulk_max_size
or any other parameters except the ones it synthesizes itself. The config parameters the shipper output receives are:note that
type
is not actually a field of the shipper output's config (though it may be used elsewhere in the pipeline). However there are several other fields that are in the shipper output config:and none of these are ever set.
This issue is possibly more for discussion / awareness than an immediate fix, since we might have good reasons not to expose those settings through the agent policy, at least in production. But it also means that right now we have "configuration parameters" on the shipper output that can only be changed by rebuilding with a new hard-coded default, which at a minimum was not obvious to me when I wanted to run tests depending on
bulk_max_size
:-) So we might want to think about a way to safely expose the full config, at least for internal testing.The text was updated successfully, but these errors were encountered: