Skip to content

Add support for Loggly-style ingestion tokens#239

Merged
markdascher merged 1 commit intomasterfrom
ingestion-tokens
Nov 18, 2021
Merged

Add support for Loggly-style ingestion tokens#239
markdascher merged 1 commit intomasterfrom
ingestion-tokens

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.

2 participants