-
Notifications
You must be signed in to change notification settings - Fork 55
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
How do we add Ingest Budget to this docker? #83
Comments
Hi @mhobotpplnet , you can supply your own user.properties file to specify the budget field on the collector. This section in the README explains how to supply your own properties file when starting the container. This doc page talks more in detail on what fields are supported in this file. Search for "Ingest Budget" on this page to see how to format this field in user.properties file. It should be something like |
@maimaisie yeah I saw that, I got bit of an issue where I supply the secrets. So my question is, if I have info below in my docker-compose, and if I add custom user.properties
|
Example how it looks w/o custom properties atm
|
Unfortunately it doesn't support combining custom user.properties file and properties passed from environment variables. So all the properties should be specified through user.properties if you supply your own. In the future we will add ingest budget assignment through environment variable as well. |
Show me where you would expose that as an env, I might code it and push it as PR. |
Probably somewhere here right? |
Yes, basically similar to this: #79 |
Very odd, so I added Any other pointers? My user.properties file should at the end have Whatever I do I don't get that extra env in user.properties. just this
Update: If I run docker -e for SUMO_COLLECTOR_EPHEMERAL=false , it works just fine which kind of tells me that the sumo wrapper has those variables predefined. |
That is very strange. They should be independent properties. Can you maybe create a PR with what you had so I can review and possibly find where the problem is? |
This would be a great feature to have, as if we are running an entirely dynamic workload that the nodes scale but up and down and the only agent on them is the sumologic collector for log collection, then having a seperate user.properties file when we have been using the generated one does not bode with our ability to use the ingest budgets on scale up of nodes. I just started looking at this and if I find a workable solution, I will make a pr. |
Just trying to work with some new fields , and was wondering where do I add _budget field ? is it the sources or collector it self?
The text was updated successfully, but these errors were encountered: