scalyr / scalyr-fluentd

The fluentd plugin for inserting log messages and metrics in Scalyr.
Apache License 2.0
5 stars 5 forks source link

Replace add_events config field with scalyrServer #3

Closed imron closed 9 years ago

imron commented 9 years ago

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.

imron commented 9 years ago

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.