-
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
Introduce service.type
for all Metricbeat modules
#8965
Conversation
service.type
for all Metricbeat modulesservice.type
for all Metricbeat modules
48bac4e
to
ff7a7f5
Compare
service.type
for all Metricbeat modulesservice.type
for all Metricbeat modules
Regarding your comment about K8s, does it mean that modules not using Reporter methods won't have the And, should we also add
I don't see any major arguments in favour of this position or the opposite. What would be the use of |
2928cf8
to
34fd2f5
Compare
@jsoriano All modules will have a Add An example for the service.name: Assuming you have 2 Elasticsearch clusters. All the documents from both cluster will have |
Ok, got it. For the use case for |
Test failures seem to be related, need to investigate. |
125b9bc
to
9b53f47
Compare
The service.type describes which service a dataset is connecting to. This is not necessarily the same for all datasets in one module. An example here is the K8s module which reaches out to 3 different services. For now the default is just set to the module name if none is set. Unfortunately changing K8s module was not as easy as I though as it still has the old Fetch methods so the variables can not be set. Questions: * As in most cases for use service.name and service.type are the same, should we also set service.name by default?
9b53f47
to
4b1b2cb
Compare
jenkins, test this |
Please, can you elaborate what's a In our jargon, a As a general rule, I would avoid naming things with very generic words or a conjunction of generic words. Example: |
@sayden Service in this context is the service we connected to. Example is mysql, elasticsearch etc. The dataset describes a unique set of fields like the ones from All these names are based on ECS. So definitions can be looked up here: https://github.com/elastic/ecs |
Ok, understood. Thank you very much 👍 |
The service.type describes which service a dataset is connecting to. This is not necessarily the same for all datasets in one module. An example here is the K8s module which reaches out to 3 different services.
For now the default is just set to the module name if none is set. Unfortunately changing K8s module was not as easy as I though as it still has the old Fetch methods so the variables can not be set.
Questions: