Skip to content

Commit

Permalink
Fix misspelling of username & set ECS version
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed May 5, 2020
1 parent ebae871 commit cdd3833
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions filebeat/module/osquery/result/config/result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ paths:
exclude_files: [".gz$"]
json.overwrite_keys: true
json.add_error_key: true
processors:
- add_fields:
target: ''
fields:
ecs.version: 1.5.0
2 changes: 1 addition & 1 deletion filebeat/module/osquery/result/ingest/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"set": {
"field": "user.name",
"value": "{{osquery.result.decorations.username}}",
"if": "ctx?.osquery?.result?.decorations?.uusername != null"
"if": "ctx?.osquery?.result?.decorations?.username != null"
}
},
{
Expand Down

0 comments on commit cdd3833

Please sign in to comment.