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 hostname to the JSON docs #14

Closed
rtoma opened this issue Oct 20, 2015 · 1 comment
Closed

Add hostname to the JSON docs #14

rtoma opened this issue Oct 20, 2015 · 1 comment

Comments

@rtoma
Copy link

rtoma commented Oct 20, 2015

Can you add a 'hostname' or 'host' field to each JSON doc with the hostname of the local machine?

When you send events to Redis, the downstream consuming Logstash instance has no clue what host it originally came from. Making it impossible to filter on events from 1 specific server in Kibana.

@mnencia
Copy link
Member

mnencia commented Nov 3, 2015

At the moment, you can use a different key for each postgres server to allow logstash to distinguish them.

However, I think that what you proposed on #13 is a superset of this one, hence I'm closing this as a duplicate.

@mnencia mnencia closed this as completed Nov 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants