-
Notifications
You must be signed in to change notification settings - Fork 431
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
Event categorisation fields #242
Changes from 5 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
*.pyc | ||
env | ||
*.sw? |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,35 +396,64 @@ | |
Unique ID to describe the event. | ||
example: 8a4f500d | ||
|
||
- name: kind | ||
level: core | ||
type: keyword | ||
description: > | ||
The kind of the event. | ||
|
||
This gives information about what type of information the event | ||
contains, without being specific to the contents of the event. Examples | ||
are `event`, `state`, `alarm`. Warning: In future versions of ECS, we | ||
plan to provide a list of acceptable values for this field, please use | ||
with caution. | ||
example: state | ||
|
||
- name: category | ||
level: core | ||
type: keyword | ||
description: > | ||
Event category. | ||
|
||
This can be a user defined category. | ||
example: metrics | ||
This contains high-level information about the contents of the event. It | ||
is more generic than `event.action`, in the sense that typically a | ||
category contains multiple actions. Warning: In future versions of ECS, | ||
we plan to provide a list of acceptable values for this field, please | ||
use with caution. | ||
|
||
- name: type | ||
example: user-management | ||
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. The plan with this field is to have a predetermined set of categories (a few tens of them). Having the field now in ECS sets us up for a sort of breaking change when we come up with that list. Therefore I think the description can remain as is, but we should add a warning telling people that they're using this field at their own risk, because it will soon be a field that should be populated with prescribed values. It won't be the end of the world, though. It's not going to break ingestion or anything. It's just that Elastic solutions will expect this field to contain certain values, so if some sources populate this differently, they won't have the best experience... 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. warning added. |
||
|
||
- name: action | ||
level: core | ||
type: keyword | ||
description: > | ||
A type given to this kind of event which can be used for grouping. | ||
The action captured by the event. | ||
|
||
This is normally defined by the user. | ||
example: nginx-stats-metrics | ||
This describes the information in the event. It is more specific than | ||
`event.category`. Examples are `group-add`, `process-started`, | ||
`file-created`. The value is normally defined by the implementer. | ||
example: user-password-change | ||
|
||
- name: action | ||
- name: outcome | ||
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.
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. warning added. |
||
level: core | ||
type: keyword | ||
description: > | ||
The outcome of the event. | ||
|
||
If the event describes an action, this fields contains the outcome of | ||
that action. Examples outcomes are `success` and `failure`. Warning: In | ||
future versions of ECS, we plan to provide a list of acceptable values | ||
for this field, please use with caution. | ||
|
||
example: success | ||
|
||
- name: type | ||
level: core | ||
type: keyword | ||
description: > | ||
The action captured by the event. The type of action will vary from | ||
system to system but is likely to include actions by security services, | ||
such as blocking or quarantining; as well as more generic actions such | ||
as login events, file i/o or proxy forwarding events. | ||
Reserved for future usage. | ||
|
||
The value is normally defined by the user. | ||
example: reject | ||
Please avoid using this field for user data. | ||
|
||
- name: module | ||
level: core | ||
|
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.
Sorry, only spotted now but these fields should go into extended for now.
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 moved
event.kind
andevent.outcome
to extended.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'll be proposing pushing these to core sometime in the future :-)