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

Tail files for log streaming #1

Closed
brandonros opened this issue Mar 24, 2019 · 1 comment
Closed

Tail files for log streaming #1

brandonros opened this issue Mar 24, 2019 · 1 comment

Comments

@brandonros
Copy link

I'd imagine it's pretty normal that most apps write logs to files while they are running.

It's not clear (to me at least) whether I need to write my own code to stream the logs to the sonic-server using a library like this, or if sonic-server can watch a pattern of files?

@valeriansaliou
Copy link
Owner

Hi! If you want to index logs as to perform search in those logs, I'd suggest you build eg. NodeJS log watcher on your end, and use this library to ingest each log line in your Sonic server.

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

No branches or pull requests

2 participants