Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

[FEATURE] Log forwarding from a file #20

Closed
PierreBesson opened this issue Mar 23, 2016 · 5 comments
Closed

[FEATURE] Log forwarding from a file #20

PierreBesson opened this issue Mar 23, 2016 · 5 comments

Comments

@PierreBesson
Copy link
Collaborator

Some people are concerned with lower performance when using a socket connection from their app and would rather have a separate agent read from log files.

We could use either logstash or filebeat for this task.

@PierreBesson PierreBesson modified the milestone: future Mar 23, 2016
@pascalgrimaud
Copy link
Member

On the main generator, if the user choose ELK, maybe we can ask him how he wants to monitor all his apps?

It's just an idea, I think there is some work for this.

@jdubois
Copy link
Member

jdubois commented Mar 26, 2016

No that would be against 12 factors -> they need to use the console output, maybe we should add some documentation about this.

@PierreBesson
Copy link
Collaborator Author

After thinking about it for some time. It seems this approach has too many downsides (for example, it needs an agent per app so it's complicated with docker deployment) and the setup we have now with logback encoder seems to work fine with what seems to be acceptable loss of performance.

So I won't be adding this feature in the next future.

@ygokirmak
Copy link
Contributor

ygokirmak commented Dec 1, 2016

@PierreBesson we are using filebeat (with jhipster) for logforwarding instead of socket appender. Filebeat agents are triggered on container startup and they save their last checkpoints ( registries ) within application folder so on container restart we don't duplicate logs.

We choose this method bec we are generating reports via ELK dashboards and don't want data loss.

just wrote fyi..

@PierreBesson
Copy link
Collaborator Author

@ygokirmak Filebeat is also an interesting approach but we are unlikely to switch to it.
Still, I would be quite interested to see your config, especially if it can be setup simply with docker-compose.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants