<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do you use a source stanza under props.conf on a universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430637#M75366</link>
    <description>&lt;P&gt;I don't know if you have a performance impact by using your configuration. &lt;BR /&gt;
I'm just confused why it should ease the management of input files. In the end you will have to write whitelists and props.conf source:// entries, what makes it more difficult to understand the configuration IMHO. &lt;/P&gt;

&lt;P&gt;I would suggest to write a inputs.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
index = my_index

[monitor:///export2/MyApp/*/logs/MyApp.log]
sourcetype = my_index:agent
followSymlink = false

[monitor:///export2/MyApp/*/logs/MyAppManager*.log]
sourcetype = my_index:manager
followSymlink = false 

[monitor:///export2/MyApp/*/logs/MyAppWeb*.log]
sourcetype = my_index:web
followSymlink = false 

[monitor:///export2/MyApp/*/logs/perflog.txt*]
sourcetype = my_index:perflog
followSymlink = false 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 19 Feb 2019 11:42:25 GMT</pubDate>
    <dc:creator>markusspitzli</dc:creator>
    <dc:date>2019-02-19T11:42:25Z</dc:date>
    <item>
      <title>How do you use a source stanza under props.conf on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430635#M75364</link>
      <description>&lt;P&gt;I'm currently looking at deploying some changes to ease management of input files in our environment. I've confirmed that the only way to bring in multiple whitelisted files, and think them with a source type, is to use a source stanza under props.conf. From what I've read, and tested, the sources props.conf would have to run on the forwarder instead of the indexers.&lt;/P&gt;

&lt;P&gt;Has anyone tested the affects of the source stanza and resource utilization on a forwarder?&lt;/P&gt;

&lt;P&gt;Here is an example of our configs.&lt;/P&gt;

&lt;P&gt;INPUTS.CONF&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
index = my_index

[monitor:///export2/MyApp/*/logs/]
whitelist = MyApp[^/]*\.log|perflog\.txt[^/]*
followSymlink = false
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;PROPS.CONF&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.../MyApp*]
sourcetype = my_index:agent

[source::.../Auto*]
sourcetype = my_index:auto

[source::.../MyAppManager*]
sourcetype = my_index:manager

[source::.../MyAppWeb*]
sourcetype = my_index:web

[source::.../perflog.txt*]
sourcetype = my_index:perflog
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Jan 2019 01:10:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430635#M75364</guid>
      <dc:creator>eangus</dc:creator>
      <dc:date>2019-01-29T01:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use a source stanza under props.conf on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430636#M75365</link>
      <description>&lt;P&gt;Hi @eangus &lt;/P&gt;

&lt;P&gt;I am not aware of any published details for the impact of a change this specific.&lt;BR /&gt;
From my experience, I would be confident making this change and I would expect it would have an unmeasurable impact on the UF.&lt;/P&gt;

&lt;P&gt;If you are concerned, you should test in a non-prod environment while closely monitoring the server health.&lt;BR /&gt;
All the best.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 06:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430636#M75365</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-01-29T06:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use a source stanza under props.conf on a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430637#M75366</link>
      <description>&lt;P&gt;I don't know if you have a performance impact by using your configuration. &lt;BR /&gt;
I'm just confused why it should ease the management of input files. In the end you will have to write whitelists and props.conf source:// entries, what makes it more difficult to understand the configuration IMHO. &lt;/P&gt;

&lt;P&gt;I would suggest to write a inputs.conf like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
index = my_index

[monitor:///export2/MyApp/*/logs/MyApp.log]
sourcetype = my_index:agent
followSymlink = false

[monitor:///export2/MyApp/*/logs/MyAppManager*.log]
sourcetype = my_index:manager
followSymlink = false 

[monitor:///export2/MyApp/*/logs/MyAppWeb*.log]
sourcetype = my_index:web
followSymlink = false 

[monitor:///export2/MyApp/*/logs/perflog.txt*]
sourcetype = my_index:perflog
followSymlink = false 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Feb 2019 11:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-use-a-source-stanza-under-props-conf-on-a-universal/m-p/430637#M75366</guid>
      <dc:creator>markusspitzli</dc:creator>
      <dc:date>2019-02-19T11:42:25Z</dc:date>
    </item>
  </channel>
</rss>

