Open amal-v opened 6 years ago
@tdmalone Thanks you!
Hi @illmumine!
Your PAPERTRAIL_HOST
and PAPERTRAIL_PORT
are exported as environment variables before running make
(see first code block under the Usage heading in the readme).
You can get these values from your Papertrail account when adding a new system.
If you're referring to your Papertrail API token, that's only used for the Papertrail API, which isn't used for sending logs. The hostname and port provided by Papertrail uniquely identify your account.
(It's probably worth noting that yes, anyone could guess your log hostname and port, so if you're concerned about getting unsolicited logs then you might want to check Papertrail's documentation on locking down sender registration - note that if you disable new sender registration, you'll need to enable it again for the first run of this function)
Let me know how you go - or if I completely missed what you're asking, let me know where you got to in the set up steps :)
I'm having trouble trying to understand how this works. There is no place to add the Papertrail Token, so that the logs will be exported to my account.