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

Redirect logs to logstash. #591

Merged
merged 1 commit into from
May 11, 2016
Merged

Redirect logs to logstash. #591

merged 1 commit into from
May 11, 2016

Conversation

k41n
Copy link
Collaborator

@k41n k41n commented May 10, 2016

Redirect logs to logstash in json format.

config.logstash.formatter = :json_lines
config.logstash.port = config.try(:jobsworth).try(:logstash_port) || '5000'
config.logstash.type = :tcp
config.logstash.host = config.try(:jobsworth).try(:logstash_host) || '203.29.62.201'
Copy link
Owner

Choose a reason for hiding this comment

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

Let's not put this IP in the public repo. It should have no fallback at all. If not configured, then it should disable itself.

@ari
Copy link
Owner

ari commented May 10, 2016

Does this mean we should remove the lograge gem?

@ari
Copy link
Owner

ari commented May 10, 2016

You should add the example items to context.example.xml

@ari ari merged commit 38a2f2b into ari:master May 11, 2016
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