Getting Data In

To use or not to use TCP as input method?

samiomer
Path Finder

Hi all,

I have a few custom remote sensors that I would like Splunk to monitor. These sensors do not use files or TCP to log (they use other forms like web services and other distributed messaging systems).

So, my question is, what would make the most sense in converting these logs? Should I write them to disk and have splunk monitor them as files or should I transport them via TCP and have Splunk monitor the port? When Splunk monitors a TCP port, does it write the data coming in to the file system before processing it? Because if so, it wouldn't make a difference (performance-wise) to convert my custom logs to files or stream through TCP, correct?

Thanks in advance.

Tags (2)
0 Karma
1 Solution

araitz
Splunk Employee
Splunk Employee

Have your application write to an appended log file, and have a Splunk universal forwarder take care of the monitoring and transport layer. The framework team has done a lot of work to get the forwarder where it is today, so why not take advantage of it? 🙂

View solution in original post

0 Karma

araitz
Splunk Employee
Splunk Employee

Have your application write to an appended log file, and have a Splunk universal forwarder take care of the monitoring and transport layer. The framework team has done a lot of work to get the forwarder where it is today, so why not take advantage of it? 🙂

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...