Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from The-smooth-operator/audisp-json
forward audisp-json logs to MozDef
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
cluster-conf/prod/us-west-2/graylog/21-fluentd-mozdef-configmap.yml
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,26 @@ | ||
kind: ConfigMap | ||
metadata: | ||
name: fluentd-extra-conf | ||
namespace: logging | ||
apiVersion: v1 | ||
data: | ||
audisp-json.conf: |+ | ||
<source> | ||
@type tail | ||
@id in_tail_audisp-json | ||
path /var/log/audisp-json.log | ||
pos_file /var/log/audisp-json.log.pos | ||
tag audisp-json | ||
read_from_head true | ||
<parse> | ||
@type none | ||
</parse> | ||
<filter audisp-json> | ||
@type concat | ||
key audisp-json | ||
multiline_start_regexp /^\{/ | ||
multiline_end_regexp /^\{/ | ||
#time_format %Y-%m-%dT%H:%M:%S+%z | ||
</filter> | ||
</source> | ||
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