-
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 Filebeat kubernetes module. {issue}10812[10812] #10912
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
//// | ||
This file is generated! See scripts/docs_collector.py | ||
//// | ||
|
||
[[filebeat-module-kubernetes]] | ||
[role="xpack"] | ||
|
||
:modulename: kubernetes | ||
:has-dashboards: true | ||
|
||
== Kubernetes Module | ||
|
||
This is a filebeat module for Kubernetes. It ingests logs for Kubernetes pods and containers, specifically coredns and envoy. | ||
|
||
[float] | ||
=== Compatibility | ||
|
||
This module has been developed against Kubernetes v1.13.x, but is expected to work | ||
with other versions of Kubernetes. | ||
|
||
[float] | ||
=== Example dashboard | ||
|
||
This module comes with a sample dashboard. | ||
|
||
[role="screenshot"] | ||
image::./images/Filebeat-Kubernetes-Dashboard.png[] | ||
|
||
|
||
[float] | ||
=== Fields | ||
|
||
For a description of each field in the module, see the | ||
<<exported-fields-kubernetes,exported fields>> section. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,6 +245,18 @@ filebeat.modules: | |
# Filebeat will choose the paths depending on your OS. | ||
#var.paths: | ||
|
||
#------------------------------ Kubernetes Module ------------------------------ | ||
- module: kubernetes | ||
# All logs | ||
coredns: | ||
enabled: true | ||
envoy: | ||
enabled: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think they should be two modules, one for coredns and another one for envoy. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like the suggestion. Let me see whether doing these two modules separately will allow them to work in kubernetes deployments. Some additional work might still be needed. |
||
|
||
# Set custom paths for the log files. If left empty, | ||
# Filebeat will choose the paths depending on your OS. | ||
#var.paths: | ||
|
||
#------------------------------- Logstash Module ------------------------------- | ||
#- module: logstash | ||
# logs | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
I would link the Changelog to this PR which will have all of the action, not the original issue.