Getting Data In

Sending files as attachments over syslog protocol

shayhibah
Path Finder

Hi,

I would like to know if its possible to send files as attachments to Splunk directly from my syslog server.
If so, can anyone elaborate how to do that?

Thanks

Tags (2)
0 Karma
1 Solution

jkat54
SplunkTrust
SplunkTrust

Not really how it works, but you can send data in just about any format over syslog. On the receiving end the syslog server doesn't know if it should write in txt or png or doc or whatever format you sent though. You have to configure it as such. Splunk as a syslog receiver can't do much with encoded file types though. It's just going to write the 0s and 1s (most likely hexidecimal) that is inside the data file you sent.

The short answer is no, you don't send files as attachments in syslog. Instead you're streaming data through in whatever format you choose and syslog is going to write what it receives, along with a default msg header at the top of the syslog event (timestamp and host name it received the data from).

View solution in original post

0 Karma

jkat54
SplunkTrust
SplunkTrust

Not really how it works, but you can send data in just about any format over syslog. On the receiving end the syslog server doesn't know if it should write in txt or png or doc or whatever format you sent though. You have to configure it as such. Splunk as a syslog receiver can't do much with encoded file types though. It's just going to write the 0s and 1s (most likely hexidecimal) that is inside the data file you sent.

The short answer is no, you don't send files as attachments in syslog. Instead you're streaming data through in whatever format you choose and syslog is going to write what it receives, along with a default msg header at the top of the syslog event (timestamp and host name it received the data from).

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...