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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...