Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Papertrail Token #2

Open
amal-v opened this issue Feb 27, 2018 · 2 comments
Open

Papertrail Token #2

amal-v opened this issue Feb 27, 2018 · 2 comments
Labels
question Further information is requested

Comments

@amal-v
Copy link

amal-v commented Feb 27, 2018

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.

@amal-v
Copy link
Author

amal-v commented Feb 27, 2018

@tdmalone Thanks you!

@tdmalone
Copy link
Owner

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 :)

@tdmalone tdmalone added the question Further information is requested label Feb 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants