Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fields for Operating Systemd data (#5)
There were some previous discussions around the version field and if it should split up into major, minor, bugfix, patch. I chose to only go with `version` based on the assumption that if someone searches for a specific minor version he will know the major version. So searching for it can be done with a prefix query based on version keyword.
- Loading branch information
1 parent
ffc574e
commit e17097a
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
- name: os | ||
title: Operating System | ||
group: 2 | ||
description: > | ||
The OS fields contain information about the operating system and contains. | ||
The os fields are often used inside other prefixes like `host.os.*` or `user_agent.os.*`. | ||
fields: | ||
- name: platform | ||
type: keyword | ||
description: > | ||
Operating system platform (e.g. centos, ubuntu, windows). | ||
example: darwin | ||
- name: name | ||
type: keyword | ||
example: "Mac OS X" | ||
description: > | ||
Operating system name. | ||
- name: family | ||
type: keyword | ||
example: "debian" | ||
description: > | ||
OS family (e.g. redhat, debian, freebsd, windows). | ||
- name: version | ||
type: keyword | ||
example: "10.12.6-rc2" | ||
description: > | ||
Operating system version as a raw string. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters