<?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 to override the props source? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394597#M70445</link>
    <description>&lt;P&gt;the current sources are /var/log/LOGCENTRAL/Windows/&lt;EM&gt;hostname&lt;/EM&gt;/&lt;EM&gt;hostname.log&lt;/EM&gt;.  This obviously varies as there are many hosts writing logs.  My props is now [source::/var/log/LOGCENTRAL/Windows/...] and thats not working either.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jun 2018 12:29:16 GMT</pubDate>
    <dc:creator>coreyf311</dc:creator>
    <dc:date>2018-06-18T12:29:16Z</dc:date>
    <item>
      <title>How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394593#M70441</link>
      <description>&lt;P&gt;I have the below configured but source is not being over written.  I am trying to wild card anything after Windows in the path.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/Windows/*]
TRANSFORMS-changesource=changesource
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[changesource]
FORMAT= source::WinEventLog:Security
DEST_KEY=MetaData:Source
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have it deployed to my heavy forwarder.  It's not working there. I am also curious if I can deploy something like this to a Universal Forwarder after I am sure the syntax is correct?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 11:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394593#M70441</guid>
      <dc:creator>coreyf311</dc:creator>
      <dc:date>2018-06-18T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394594#M70442</link>
      <description>&lt;P&gt;If you have further sub-directories behind  &lt;CODE&gt;/var/log/Windows/&lt;/CODE&gt;, you need to use the &lt;CODE&gt;...&lt;/CODE&gt; wildcard instead of &lt;CODE&gt;*&lt;/CODE&gt;. So try &lt;CODE&gt;[source::/var/log/Windows/...]&lt;/CODE&gt; instead.&lt;/P&gt;

&lt;P&gt;And no, these operations cannot be done on UF. Unless this specific source value matches a specific inputs.conf stanza, then you could set the source field as part of the inputs.conf.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 11:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394594#M70442</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-18T11:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394595#M70443</link>
      <description>&lt;P&gt;I would prefer to set source as part of the inputs.conf   Can I override the source in inputs.conf?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394595#M70443</guid>
      <dc:creator>coreyf311</dc:creator>
      <dc:date>2018-06-18T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394596#M70444</link>
      <description>&lt;P&gt;Yes, you can simply add &lt;CODE&gt;source = WinEventLog:Security&lt;/CODE&gt; to the relevant inputs.conf stanza.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394596#M70444</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-18T12:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394597#M70445</link>
      <description>&lt;P&gt;the current sources are /var/log/LOGCENTRAL/Windows/&lt;EM&gt;hostname&lt;/EM&gt;/&lt;EM&gt;hostname.log&lt;/EM&gt;.  This obviously varies as there are many hosts writing logs.  My props is now [source::/var/log/LOGCENTRAL/Windows/...] and thats not working either.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:29:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394597#M70445</guid>
      <dc:creator>coreyf311</dc:creator>
      <dc:date>2018-06-18T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394598#M70446</link>
      <description>&lt;P&gt;I think you need to add a &lt;CODE&gt;REGEX = .&lt;/CODE&gt; to your transforms.conf. That setting is required for index-time extractions like this. Sorry for not catching that earlier.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394598#M70446</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-18T12:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to override the props source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394599#M70447</link>
      <description>&lt;P&gt;a simple read of the inputs.conf spec gave me the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-override-the-props-source/m-p/394599#M70447</guid>
      <dc:creator>coreyf311</dc:creator>
      <dc:date>2018-06-18T12:42:13Z</dc:date>
    </item>
  </channel>
</rss>

