<?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 Windows Event Log Sourcetype Overrride in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156177#M31680</link>
    <description>&lt;P&gt;I have the following on my indexer's props.conf:&lt;/P&gt;

&lt;P&gt;[source::WinEventLog:Microsoft-Windows-PrintService/Operational]&lt;BR /&gt;
sourcetype = WinPrintMon&lt;/P&gt;

&lt;P&gt;However, both the source and sourcetype in the events still come up as "WinEventLog:Microsoft-Windows-PrintService/Operational".  According to the props.conf documentation I shouldn't have to build a regex and a transform in order to rename this sourcetype.&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2014 15:02:32 GMT</pubDate>
    <dc:creator>Wallen</dc:creator>
    <dc:date>2014-07-24T15:02:32Z</dc:date>
    <item>
      <title>Windows Event Log Sourcetype Overrride</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156177#M31680</link>
      <description>&lt;P&gt;I have the following on my indexer's props.conf:&lt;/P&gt;

&lt;P&gt;[source::WinEventLog:Microsoft-Windows-PrintService/Operational]&lt;BR /&gt;
sourcetype = WinPrintMon&lt;/P&gt;

&lt;P&gt;However, both the source and sourcetype in the events still come up as "WinEventLog:Microsoft-Windows-PrintService/Operational".  According to the props.conf documentation I shouldn't have to build a regex and a transform in order to rename this sourcetype.&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 15:02:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156177#M31680</guid>
      <dc:creator>Wallen</dc:creator>
      <dc:date>2014-07-24T15:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Log Sourcetype Overrride</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156178#M31681</link>
      <description>&lt;P&gt;Try this:&lt;BR /&gt;
In transforms.conf&lt;BR /&gt;
[set_sourcetype_WinEventLog]&lt;BR /&gt;
REGEX = &lt;BR /&gt;
FORMAT = sourcetype::WinPrintMon&lt;BR /&gt;
DEST_KEY = MetaData:Sourcetype&lt;/P&gt;

&lt;P&gt;In props.conf&lt;BR /&gt;
[source::WinEventLog:Microsoft-Windows-PrintService/Operational]&lt;BR /&gt;
TRANSFORMS-changesourcetype = set_sourcetype_WinEventLog&lt;/P&gt;

&lt;P&gt;Note: write your regex&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156178#M31681</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2020-09-28T17:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Log Sourcetype Overrride</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156179#M31682</link>
      <description>&lt;P&gt;It works with a Regex = \w*, however that doesn't explain why the props.conf docs state you don't need a transform when based on source.  I'll mark this as the answer anyway.  Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 16:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156179#M31682</guid>
      <dc:creator>Wallen</dc:creator>
      <dc:date>2014-07-24T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Event Log Sourcetype Overrride</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156180#M31683</link>
      <description>&lt;P&gt;I converted my comment to answer. See if you can add your comment below to the answer&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 17:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Event-Log-Sourcetype-Overrride/m-p/156180#M31683</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-24T17:16:48Z</dc:date>
    </item>
  </channel>
</rss>

