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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...