Deployment Architecture

How to get remote linux log into splunk

xuanyun
Path Finder

http://docs.splunk.com/Documentation/Splunk/latest/Data/Unixlogslocal

I can't understand that.
How to Splunk monitor log from remote linux log?
Universal Forwarder have been installed in the remote linux.
What I should do then?

Tags (3)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

Either by using a forwarder (which you seem to have), configuring inputs.conf and outputs.conf

http://docs.splunk.com/Documentation/Splunk/latest/Data/FilesDirsremote

OR

Configure syslog to send the logs to your indexer. You need to configure your Splunk indexer to also listen on a TCP/UDP port.

http://docs.splunk.com/Documentation/Splunk/latest/Data/SyslogTCP
http://docs.splunk.com/Documentation/Splunk/latest/Data/SyslogUDP

OR

Store the logs on a network share that can be mounted by the indexer. From the splunk indexer perspective, this is pretty much like indexing local files.

/K

View solution in original post

Ayn
Legend

Point the universal forwarder to monitor the logs you're interested in, and set the Splunk instance it should forward to (splunk add forward-server <yoursplunkserver>)

0 Karma

kristian_kolb
Ultra Champion

Either by using a forwarder (which you seem to have), configuring inputs.conf and outputs.conf

http://docs.splunk.com/Documentation/Splunk/latest/Data/FilesDirsremote

OR

Configure syslog to send the logs to your indexer. You need to configure your Splunk indexer to also listen on a TCP/UDP port.

http://docs.splunk.com/Documentation/Splunk/latest/Data/SyslogTCP
http://docs.splunk.com/Documentation/Splunk/latest/Data/SyslogUDP

OR

Store the logs on a network share that can be mounted by the indexer. From the splunk indexer perspective, this is pretty much like indexing local files.

/K

Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...