papertrail / remote_syslog2

To install, see "Releases" tab. Self-contained daemon for reading local files and emitting remote syslog (without using local syslogd).
http://help.papertrailapp.com/
MIT License
637 stars 157 forks source link

How to setup Token based destination in config #235

Open abhi-nestegg opened 3 years ago

abhi-nestegg commented 3 years ago

I am trying to setup Token based destination for my logs. However, cannot find any example config for the same. I am using Elastic Beanstalk, so it would be great if a sample configuration can be shared for the same.

markdascher commented 2 years ago

We've just added token support in #239. There aren't many examples yet, but basically you'll just start with a regular config, but then replace the destination section with:

destination:
  host: logs.collector.solarwinds.com
  port: 6514
  protocol: tls
  token: YOUR-TOKEN-HERE

Does that make sense? I'll leave this issue open until we have it more thoroughly documented.

Also be sure to use the latest release, at least v0.21-beta1 or later.

abhi-nestegg commented 2 years ago

Makes sense @markdascher Thank you!