-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add Icinga module to Filebeat #3904
Conversation
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run. |
1 similar comment
Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run. |
@bobapple Thans a lot for the contribution and sorry for the late reply. We try to provide feedback soon. Could you rebase this one on master and also check the failing tests? |
@ruflin no worries. I rebased on master and fixed one of my test logs. The Travis CI tests on However, tests with diff --git a/filebeat/filebeat.full.yml b/filebeat/filebeat.full.yml
index c91a8f3..e3fcfa6 100644
--- a/filebeat/filebeat.full.yml
+++ b/filebeat/filebeat.full.yml
@@ -59,6 +59,15 @@ filebeat.modules:
#------------------------------- Auditd Module -------------------------------
#- module: auditd
#log:
+ #enabled: true
+
+ # Set custom paths for the log files. If left empty,
+ # Filebeat will choose the paths depending on your OS.
+ #var.paths:
+
+ # Prospector configuration (advanced). Any prospector configuration option
+ # can be added under this section.
+ #prospector:
#------------------------------- Icinga Module -------------------------------
#- module: icinga
git update-index --refresh
filebeat/filebeat.full.yml: needs update
make: *** [check] Error 1 I am not sure tho, maybe you can give me a hint |
@bobapple Running |
Do you happen to also have some Kibana dashboards created? It would be nice to include at least a simple dashboard with the module, so people get a good starting point. Let me know if you need help with saving the dashboards. |
}], | ||
"on_failure" : [{ | ||
"set" : { | ||
"field" : "error", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've recently change this from error
to error.message
. Could you update it everywhere in this PR as well, please?
I've looked over the code and tested the new module a little bit. All looks 👍 👍 Can you review the small comments above? Also, can you add a line in the |
@tsg thank you for the feedback! I made the requested changes and added Kibana dashboards. |
I fixed the conflict in the changelog. |
@bobapple Can you please run |
This commit introduces the Icinga module to Filebeat. It is capable of processing the main, debug and startup log of the Icinga daemon.
@monicasarbu I made the requested changes, even though the Icinga module configuration was removed from |
This commit introduces the Icinga module to Filebeat. It is capable
of processing the main, debug and startup log of the Icinga daemon.