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

Write Slow Logs to a data stream #62077

Closed
pgomulka opened this issue Sep 8, 2020 · 3 comments
Closed

Write Slow Logs to a data stream #62077

pgomulka opened this issue Sep 8, 2020 · 3 comments
Labels
:Core/Infra/Logging Log management and logging utilities >enhancement Team:Core/Infra Meta label for core/infra team

Comments

@pgomulka
Copy link
Contributor

pgomulka commented Sep 8, 2020

Indexing slow logs to a data stream would help identifying slow queries from Kibana ES UI as well as gathering statistics about overall health of the cluster as presented on prototypes here cc @cjcenizal

Often times users do not have easy access to slow logs, so making them available on data stream would make troubleshooting easier.
similar issue raised recently - #61118

This would be an easy follow up on #58924

@pgomulka pgomulka added >enhancement :Core/Infra/Logging Log management and logging utilities needs:triage Requires assignment of a team area label labels Sep 8, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Logging)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Sep 8, 2020
@jimczi
Copy link
Contributor

jimczi commented Sep 8, 2020

This would be an easy follow up on #58924

While I understand why deprecation logs would be treated differently, I wonder if we should rather aim at integrating filebeat for this kind of task. There's an effort that started to bundle metricbeat in ES to replace monitoring so that could be similar. That would make the indexing and progress completely asynchronous and less prone to memory explosion in case there's a lot of write/search activities on the cluster ?

@jimczi jimczi removed the needs:triage Requires assignment of a team area label label Sep 17, 2020
@pgomulka
Copy link
Contributor Author

we discussed this on core infra sync 16th sep
the concussion is that we don't want index slow logs with the same mechanism we use for deprecation logs because this would cause a performance problem.
If slow logs are to be indexed, they should be indexed with an external process (like filebeat) ideally to a separate monitoring cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Logging Log management and logging utilities >enhancement Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

5 participants