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

[Filebeat/MongoDB] Add support to new MongoDB additional diagnostic information #11287

Closed
gemaliano opened this issue Mar 18, 2019 · 1 comment
Assignees
Labels
Filebeat Filebeat Team:Integrations Label for the Integrations team

Comments

@gemaliano
Copy link

Describe the enhancement:
Filebeat using MongoDB Module.
MongoDB has added a lot of additional diagnostic information since v3.6.x, with specific reference to the replication feature, which the current filebeat pattern (including filebeat 6.6.2) does not capture.

Describe a specific use case for the enhancement or feature:
Log line:
2019-03-07T15:10:26.960+0000 I ASIO [NetworkInterfaceASIO-Replication-0] Successfully connected to dbbox7:27017, took 10ms (1 connections now open to dbbox7:27017)
Grook pattern:
%{TIMESTAMP_ISO8601:mongodb.log.timestamp}%{SPACE}%{MONGO3_SEVERITY:mongodb.log.severity}%{SPACE}%{MONGO3_COMPONENT:mongodb.log.component}%{SPACE}(?:\\[%{DATA:mongodb.log.context}\\])?%{SPACE}%{GREEDYDATA:mongodb.log.message}

This grok pattern is present in:
https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/mongodb

@gemaliano gemaliano added Filebeat Filebeat Team:Integrations Label for the Integrations team labels Mar 18, 2019
@sayden
Copy link
Contributor

sayden commented Mar 18, 2019

@ruflin if you think is ok, I'll self-assign this one because I already have some task that involves Mongo here #10793 Feel free to reassign it if you have other plans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Filebeat Filebeat Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

3 participants