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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...