How to ingest Swift SAA (Swift Alliance Access) logs in Splunk
The SAA must be configured to:
- forwards its logs through syslog
- use the JSON (not formatted) format
Example input stanza to write in an input.conf
:
[tcp://1234]
connection_host = dns
sourcetype = swift:saa
index = swift
Simple props.conf
stanza to remove the SAA logs header, and instructs Splunk to parse the payload as JSON:
[swift:saa]
SEDCMD-drop_saa_header = s/[^{]*//
KV_MODE = json