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

import_logs.py not using STDIN anymore #16338

Closed
jdelker opened this issue Aug 23, 2020 · 2 comments
Closed

import_logs.py not using STDIN anymore #16338

jdelker opened this issue Aug 23, 2020 · 2 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@jdelker
Copy link

jdelker commented Aug 23, 2020

After upgrading to matomo 3.14, I noticed that our Apache-Log processing pipeline in logstash was not working anymore.

In there, logs are piped through STDIN into import_logs.py for processing, by invoking it as import_logs.py ... -.
After the upgrade the logstash pipeline is collapsing immediately after invokation.

Analysis showed, that STDIN processing is obviously not working anymore:
import_logs.py ... apache.log works fine.
import_logs.py ... - < apache.log terminates immediately with no lines parsed.

@tsteur
Copy link
Member

tsteur commented Aug 23, 2020

Hi @jdelker I think this is a duplicate of matomo-org/matomo-log-analytics#273 . Let me know if that's not the case and I'll reopen the issue. It was fixed in matomo-org/matomo-log-analytics#275

@tsteur tsteur closed this as completed Aug 23, 2020
@tsteur tsteur added the duplicate For issues that already existed in our issue tracker and were reported previously. label Aug 23, 2020
@jdelker
Copy link
Author

jdelker commented Aug 23, 2020

Yes, that fixes the issue.
Sorry for the duplicate, but somehow I didn't find the referenced issue beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants