Skip to content
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

Add support for Loggly-style ingestion tokens #239

Merged
merged 1 commit into from Nov 18, 2021
Merged

Conversation

markdascher
Copy link
Contributor

Papertrail recently added support for syslog ingestion tokens using Loggly's [TOKEN@41058] STRUCTURED-DATA format, as an alternative to assigning unique ports to each customer. This PR allows remote_syslog2 to send using that format.

/etc/log_files.yml would look something like:

files:
  - /path/to/your/file.log
destination:
  host: logs.collector.solarwinds.com
  port: 6514
  protocol: tls
  token: 012345-ABCDEFGHIJ_klmnopqrst

Already tested it out and confirmed that logs showed up in Papertrail, using a token from Settings > Log Destinations > Token.

@markdascher markdascher self-assigned this Nov 16, 2021
Copy link

@luk3thomas luk3thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markdascher markdascher merged commit b119406 into master Nov 18, 2021
@markdascher markdascher deleted the ingestion-tokens branch November 18, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants