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

Make fields in uses cases which are not in ECS italic #55

Merged
merged 1 commit into from
Jul 26, 2018

Conversation

ruflin
Copy link
Member

@ruflin ruflin commented Jul 25, 2018

Some of the existing use cases contain fields which are not in ECS. Also we had several fields commented to make it clear they are not in ECS. In recent discussions it popped up that it could be useful for others to share their schema they use for specific use cases + the fields which are not in ECS. As we now show the fields different this is possible.

I plan to do follow up PR's to also clean up the use cases. Some are outdated and should be updated to use ECS fields, others can be useful for inspiration on new fields. Reviewing use cases is now much easier as it is directly visible which fields come from ECS and which ones not.

Additional changes

  • Remove links for non ecs fields.
  • Remove ticks from name to make it nicer and support italic
  • Add fields to uses cases which were commented out previously

Some of the existing use cases contain fields which are not in ECS. Also we had several fields commented to make it clear they are not in ECS. In recent discussions it popped up that it could be useful for others to share their schema they use for specific use cases + the fields which are not in ECS. As we now show the fields different this is possible.

I plan to do follow up PR's to also clean up the use cases. Some are outdated and should be updated to use ECS fields, others can be useful for inspiration on new fields. Reviewing use cases is now much easier as it is directly visible which fields come from ECS and which ones not.

Additional changes

* Remove links for non ecs fields.
* Remove ticks from name to make it nicer and support italic
* Add fields to uses cases which were commented out previously
- name: rtt
type: long
description: >
Request round trip time.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to specify a time unit.

| [service.id](https://github.com/elastic/ecs#service.id) | Unique identifier of the running service.<br/>This id should uniquely identify this service. This makes it possible to correlate logs and metrics for one specific service. For example in case of issues with one redis instance, it's possible to filter on the id to see metrics and logs for this single instance. | keyword | | `d37e5ebfe0ae6c4972dbe9f0174a1637bb8247f6` |
| [service.name](https://github.com/elastic/ecs#service.name) | Name of the service data is collected from.<br/>The name is normally the same as the module name. | keyword | | `elasticsearch` |
| [service.version](https://github.com/elastic/ecs#service.version) | Version of the service the data was collected from.<br/>This allows to look at a data set only for a specific version of a service. | keyword | | `3.2.4` |
| <a name="service.host"></a>*service.host* | *Host address that is used to connect to the service.<br/>This normally contains hostname + port.<br/>REVIEW: Should this be service.uri instead, sometimes it's more then just the host? It could also include a path or the protocol.* | keyword | | `elasticsearch:9200` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that it's more than a hostname, service.uri SGTM.

# description: >
# SHA3-512 hash (SHA-3 family).

- name: hash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a few comments.

@ruflin
Copy link
Member Author

ruflin commented Jul 26, 2018

@andrewkroh Would you be ok to address the above comments in follow up PR's? The goal of this PR is mainly to get the "infrastructure" in place not to change existing definitions or add new ones.

@andrewkroh andrewkroh merged commit dbb9ce3 into elastic:master Jul 26, 2018
@ruflin ruflin deleted the improved-use-cases branch July 26, 2018 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants