Explicit mapping for all osquery fields#902
Merged
aleksmaus merged 4 commits intoelastic:masterfrom Apr 14, 2021
aleksmaus:osquery_manager/mappings
Merged
Explicit mapping for all osquery fields#902aleksmaus merged 4 commits intoelastic:masterfrom aleksmaus:osquery_manager/mappings
aleksmaus merged 4 commits intoelastic:masterfrom
aleksmaus:osquery_manager/mappings
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
6 tasks
Contributor
Author
|
Do not review/merge yet, will update the mapping more today. |
1 task
Contributor
Author
lykkin
approved these changes
Apr 13, 2021
Contributor
lykkin
left a comment
There was a problem hiding this comment.
out of curiosity, what did you use to generate the osquery.yml file?
james-elastic
approved these changes
Apr 13, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What does this PR do?
Explicit mapping for all osquery fields.
Following this recommendation for mapping
https://www.elastic.co/guide/en/elasticsearch/reference/current/number.html
The fields mapping is generated from the official osquery 4.7.0 schema. The numeric fields are mapped to keywords, the text fields had additional text multifield defined.
Checklist
changelog.ymlfile.Author's Checklist
Related issues
Screenshots
osquery mapping:

collected osquery data with types converted appropriately with osquerybeat
