This repo contains a Synology Technical Add-On for Splunk.
.
└──TA_synology
├── default
│ └── app.conf
│ └── eventypes.conf
│ └── props.conf
│ └── tags.conf
│ └── transforms.conf
└── lookups
│ └── transforms.conf
└── lookups
│ └── default.meta
└── static
└── appIcon.png
└── appIcon_2x.png
This app is currently in development. Contributions are welcome. If you would like to assist with field extraction, please view the Field Extraction Register. More Log messages will be added as I discover them.
- I used TA-qnap by @diogofgm as a starting point.
- ITWhisperer from the Splunk Community Forums provided assistance with file size conversions.
- Tested on Synology DSM v7.0-41890
- Tested with Splunk 8.1.1
Install the add-on on: Search Heads - The add-on contains search time extractions
- Configure a new index and give it a name (synology).
NOTE: We recommend that you forward logs from Synology to a dedicated Syslog server (rsyslog, syslog-ng) which will then forward the logs to Splunk.
- Configure a new Data Input using a UDP/TCP port such as 514 pointing to the new index using the "synology" sourcetype.
- Install the Log Center package from the Package Center.
- Configure the Log Sending settings.
- Server: IP or hostname of Splunk Indexer, Splunk Heavy Forwarder, or your Syslog server which then forwards logs to Splunk.
- Port: Listening port (514)
- Transfer Protocol: UDP or TCP
- Log format: BSD (RFC 3164)
- Configure the Log Filters settings.
- For the most verbose logs, configure as per image below.
- Configure the File Transfer logs.
- Go to Control Panel > File Services
- For SMB, click Enable Tranfer Log and then configure the Log Settings.
- For the most verbose logs, configure as per image below.
For more information please refer to the Synology documentation.
Please file bug reports to our GitHub issue tracker and they will be addressed as soon as possible.
- Synology DSM has a lot of featuers and functionality. I have not yet explored every possible action or event that generates a log. If you would like to contribute, please test as much of the different features of your Synology DSM and work on the field extractions for each event.
- I'm currently attempting to get file sizes into a consistant format (Bytes). I've started a post in the Splunk Community forums here: https://community.splunk.com/t5/Splunk-Search/Converting-variable-File-Size-Units-with-dot-points-to-bytes/m-p/567504
- The regular expressions for much of the field extractions needs tightening up.