Change the "add_events" configuration option to be "scalyrServer" with a value of "https://agent.scalyr.com". The fact the request is being sent to "/add_events" is an implementation detail that we don't need to expose to the user. For debugging purposes, and our own testing purposes, we may need to change the server the requests are going to. So, we can just generate the full URL using the "scalyrServer" value.
I've removed the add_events option and added scalyr_server. I went with snake_case over camelCase for consistency with all other fluentd config options.
Change the "add_events" configuration option to be "scalyrServer" with a value of "https://agent.scalyr.com". The fact the request is being sent to "/add_events" is an implementation detail that we don't need to expose to the user. For debugging purposes, and our own testing purposes, we may need to change the server the requests are going to. So, we can just generate the full URL using the "scalyrServer" value.