<?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: Change sourcetype for data coming from UF in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533593#M89609</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194646"&gt;@lukasmecir&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the only not correcy thing I see is that in the regex you didn't escaped = but it should be not relevant.&lt;/P&gt;&lt;P&gt;Couls you share a sample of your logs?&lt;/P&gt;&lt;P&gt;Also configurations on HF should seem OK.&lt;/P&gt;&lt;P&gt;A final stupid question: are you sure that those logs pass through the HF?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 17:30:34 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-12-18T17:30:34Z</dc:date>
    <item>
      <title>Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533591#M89608</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;&lt;P&gt;I need help with change sourcetype in logs.&lt;/P&gt;&lt;P&gt;There is UF installed on Win server. I would like to collect Windows log, so Splunk add-on for Windows is installed on UF. There is no config change in add-on itself, only I made separate app for collectin Application log wit simple input.conf file:&lt;/P&gt;&lt;P&gt;# Windows platform specific input processor.&lt;BR /&gt;[WinEventLog://Application]&lt;BR /&gt;index = windows_app&lt;BR /&gt;disabled = 0&lt;BR /&gt;renderXml=false&lt;/P&gt;&lt;P&gt;Log is going from UF to HF. On HF I would like to change sourcetype for part of Win log, namely for Citrix FAS log. So I made app on HF with this content:&lt;/P&gt;&lt;P&gt;props.conf&lt;BR /&gt;[WinEventLog]&lt;BR /&gt;TRANSFORMS-win_citrix_fas_sourcetype = citrix_fas_sourcetype&lt;/P&gt;&lt;P&gt;transforms.conf&lt;BR /&gt;[citrix_fas_sourcetype]&lt;BR /&gt;REGEX = SourceName=Citrix\.Authentication\.FederatedAuthenticationService&lt;BR /&gt;DEST_KEY = MetaData:Sourcetype&lt;BR /&gt;FORMAT = sourcetype::citrix_fas&lt;/P&gt;&lt;P&gt;Splunk add-on for Windows is installed on HF as well.&lt;/P&gt;&lt;P&gt;Problem is log is indexed with sourcetype=WinEventLog, so my app on HF is&amp;nbsp;manifestly ineffective. Of course, my app has Global permissions and is enabled. And REGEX in transforms.conf should be OK. Could you someone help me point out what is wrong? AFAIK it should be working...&lt;/P&gt;&lt;P&gt;Thank in advance for help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Lukas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533591#M89608</guid>
      <dc:creator>lukasmecir</dc:creator>
      <dc:date>2020-12-18T17:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533593#M89609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194646"&gt;@lukasmecir&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the only not correcy thing I see is that in the regex you didn't escaped = but it should be not relevant.&lt;/P&gt;&lt;P&gt;Couls you share a sample of your logs?&lt;/P&gt;&lt;P&gt;Also configurations on HF should seem OK.&lt;/P&gt;&lt;P&gt;A final stupid question: are you sure that those logs pass through the HF?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533593#M89609</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-12-18T17:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533644#M89611</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194646"&gt;@lukasmecir&lt;/a&gt;, on props.conf you can try with source stanza which has higher precedence.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;props.conf
[source::WinEventLog:Application]
TRANSFORMS-win_citrix_fas_sourcetype = citrix_fas_sourcetype&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 10:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533644#M89611</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2020-12-19T10:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533655#M89617</link>
      <description>&lt;P&gt;It seems the actual sourcetype is not &lt;SPAN&gt;WinEventLog.&amp;nbsp; The original sourcetype is "WinEventLog:Application". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is being renamed as wineventlog during the search time. Please find below the props.conf for renaming from the TA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[WinEventLog:Application]&lt;BR /&gt;rename = wineventlog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 16:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533655#M89617</guid>
      <dc:creator>saravanan90</dc:creator>
      <dc:date>2020-12-19T16:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533711#M89621</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;&lt;P&gt;here is log sample:&lt;/P&gt;&lt;P&gt;12/17/2020 03:25:13 PM&lt;BR /&gt;LogName=Application&lt;BR /&gt;SourceName=Citrix.Authentication.FederatedAuthenticationService&lt;BR /&gt;EventCode=105&lt;BR /&gt;EventType=4&lt;BR /&gt;Type=Information&lt;BR /&gt;ComputerName=TV1EPVFD2001.acme.com&lt;BR /&gt;TaskCategory=None&lt;BR /&gt;OpCode=Info&lt;BR /&gt;RecordNumber=5200505&lt;BR /&gt;Keywords=Classic&lt;BR /&gt;Message=[S105] Server [CSINT\TV1EPVSF1003$] issued identity assertion [upn: tt-60807@ext.com, role Default, Security Context: []]. [correlation: 15ed3202-3d19-4bc2-8060-371dcbaf2dca]&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 09:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533711#M89621</guid>
      <dc:creator>lukasmecir</dc:creator>
      <dc:date>2020-12-21T09:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533725#M89622</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/194646"&gt;@lukasmecir&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;viewing the sample you sent the regex seems to be correct (escaping "="):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = SourceName\=Citrix\.Authentication\.FederatedAuthenticationService&lt;/LI-CODE&gt;&lt;P&gt;As hinted by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;, it could be a good idea to use Source instead Sourcetype as stanzas header:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::WinEventLog:Application]&lt;/LI-CODE&gt;&lt;P&gt;this is caused by the different classification of Windows events.&lt;/P&gt;&lt;P&gt;Did you checked if all the logs pass through the HF?&lt;/P&gt;&lt;P&gt;If not, put the same props.conf and transforms.conf stanzas also on Indexers.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 11:30:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533725#M89622</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-12-21T11:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change sourcetype for data coming from UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533851#M89634</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;finally I used solution proposed by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/206061"&gt;@scelikok&lt;/a&gt;&amp;nbsp;- and it works! Problem solved. I would like to thank you all for your effort and Marry Christmas and Happy New Year to all!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 15:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Change-sourcetype-for-data-coming-from-UF/m-p/533851#M89634</guid>
      <dc:creator>lukasmecir</dc:creator>
      <dc:date>2020-12-22T15:07:54Z</dc:date>
    </item>
  </channel>
</rss>

