Getting Data In

inputs.conf | Same folder to be monitored - different source "per host"

JohnGilmour
New Member

Hello,

I have two servers both of which are in the same deployment class on my server. How can I do different sources per host when the moinotred file is the same?

E.G Server 1: HOSTNAME = UKWEBDEV01
C:\FileToMonitor\ABCDE\1234.Log
C:\FileToMonitor\ABCDE\1234.Log
C:\FileToMonitor\ABCDE\1234.Log Source
= InsitePortalLogs Sourcetype = IIS

Server 2: UKWEBDEV05
C:\FileToMonitor\ABCDE\1234.Log
C:\FileToMonitor\ABCDE\1234.Log
C:\FileToMonitor\ABCDE\1234.Log Source
= PlatformPortalLogs Sourcetype = IIS

Thank you!
JG

0 Karma
Get Updates on the Splunk Community!

New Learning Videos on Topics Most Requested by You! Plus This Month’s New Splunk ...

Splunk Lantern is a customer success center that provides advice from Splunk experts on valuable data ...

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...