<?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: why are props.conf keys not recognized in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350572#M64335</link>
    <description>&lt;P&gt;the xxxxxx are always the same, the transforms have all different key values as they are numbered. The transform SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer is listed 3 times (lines 5 to 7 ) on purpose as it should be applied 3 times, the username may occur up to 3 times in the same event. Exactly the same configuration works for if the Keys are   SDCS-verifyclone.... instead of SDCS-liveclone...&lt;/P&gt;</description>
    <pubDate>Fri, 03 Nov 2017 10:23:51 GMT</pubDate>
    <dc:creator>FritzWittwer_ol</dc:creator>
    <dc:date>2017-11-03T10:23:51Z</dc:date>
    <item>
      <title>why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350568#M64331</link>
      <description>&lt;P&gt;I have a verry strange behaviour in props.conf, the following stanza does not work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SDCS-liveclone-xxxxxx-st_XmlWinEventLog:Security]
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route1 = SDCS-liveclone-xxxxxx-wes_Filter
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route2 = SDCS-liveclone-xxxxxx-ls_SwitchIndex
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route3 = SDCS-common-xxxxxx-DiscardEvents
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route4 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route5 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route6 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route7 = SDCS-liveclone-xxxxxx-ls_SwitchRoute
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route8 = SDCS-common-xxxxxx-CleanSourceType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it stops processing at the transform TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route7&lt;/P&gt;

&lt;P&gt;if an X is added to this rule as follows: (line 8 after SDCS, more to the end e.g. ...SDCS-livecloneX... does not work)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SDCS-liveclone-xxxxxx-st_XmlWinEventLog:Security]
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route1 = SDCS-liveclone-xxxxxx-wes_Filter
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route2 = SDCS-liveclone-xxxxxx-ls_SwitchIndex
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route3 = SDCS-common-xxxxxx-DiscardEvents
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route4 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route5 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route6 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCSX-liveclone-xxxxxx-wes-route7 = SDCS-liveclone-xxxxxx-ls_SwitchRoute
TRANSFORMS-SDCS-liveclone-xxxxxx-wes-route8 = SDCS-common-xxxxxx-CleanSourceType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the props get applied&lt;/P&gt;

&lt;P&gt;Just as background info&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the same key is not used anywhere else&lt;/LI&gt;
&lt;LI&gt;similar keys are used, e.g. the same set but wit -ls- instead of -wes- this works&lt;/LI&gt;
&lt;LI&gt;xxxxxx is a company name, in this case 6 characters&lt;/LI&gt;
&lt;LI&gt;the transforms have to be applied in this order (clone event, change _tcp_routing, change index, discard events whose routing has not been changed, over write usernames which follow to a certain pattern, change routing to the final destination, reset original source type. This is needed to hand over some events to another Splunk plattform, but masking the usernames while doing so.&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;below are the referenced transforms, the ones named SDCS-common-... are kept in another app&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SDCS-liveclone-xxxxxx-Clone_XmlWinEventLogSecurity]
REGEX = .
DEST_KEY=_TCP_ROUTING
FORMAT=nothing
CLONE_SOURCETYPE = SDCS-liveclone-xxxxxx-st_XmlWinEventLog:Security

[SDCS-liveclone-xxxxxx-wes_Filter]
SOURCE_KEY = MetaData:Source
REGEX = WinEventLog:Security
DEST_KEY=_TCP_ROUTING
FORMAT=SDCS-liveclone-xxxxxx-target-route

[SDCS-liveclone-xxxxxx-ls_SwitchIndex]
REGEX = .
DEST_KEY=_MetaData:Index
FORMAT=yyyyyy
WRITE_META = true

[SDCS-common-xxxxxx-DiscardEvents]
SOURCE_KEY = _TCP_ROUTING
REGEX = nothing
DEST_KEY = queue
FORMAT = nullQueue

[SDCS-common-xxxxxx-CleanSourceType]
SOURCE_KEY=MetaData:Sourcetype
REGEX = (?mi)^[^:]*::SDCS-(live|verify)clone-xxxxxx-st_(.*)$
DEST_KEY=MetaData:Sourcetype
FORMAT=sourcetype::$2
WRITE_META = true

[SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer]
REGEX = (?mi)^(.*? __pattern_to_match_username__ (&amp;lt;.*?)$
FORMAT = $1**HiddenSwisscomUser**$2
DEST_KEY = _raw

[SDCS-liveclone-xxxxxx-ls_SwitchRoute]
SOURCE_KEY=_TCP_ROUTING
REGEX = SDCS-liveclone-xxxxxx-target-route
#REGEX = .
DEST_KEY=_TCP_ROUTING
FORMAT=zzzzzz
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350568#M64331</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2020-09-29T16:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350569#M64332</link>
      <description>&lt;P&gt;Hi FritzWittwer, &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Please for the sake of readability make it more clear where you are adding an "x" to. It took me quite a while to figure it out.&lt;/LI&gt;
&lt;LI&gt;Did you check if your corresponding transforms.conf stanza has a typo?&lt;/LI&gt;
&lt;LI&gt;Could you show the corresponding transforms.conf stanza?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 03 Nov 2017 08:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350569#M64332</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2017-11-03T08:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350570#M64333</link>
      <description>&lt;P&gt;Are all xxxx different from each other? if NOT there are duplicates.&lt;BR /&gt;
Can you run btool on props and transforms to see how it looks finally?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350570#M64333</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-11-03T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350571#M64334</link>
      <description>&lt;P&gt;When you add the X you may have caused Splunk to perform route 7 last due to ASCII ordering. SDCS would come before SDCSX. &lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350571#M64334</guid>
      <dc:creator>jgbricker</dc:creator>
      <dc:date>2017-11-03T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350572#M64335</link>
      <description>&lt;P&gt;the xxxxxx are always the same, the transforms have all different key values as they are numbered. The transform SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer is listed 3 times (lines 5 to 7 ) on purpose as it should be applied 3 times, the username may occur up to 3 times in the same event. Exactly the same configuration works for if the Keys are   SDCS-verifyclone.... instead of SDCS-liveclone...&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:23:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350572#M64335</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-11-03T10:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350573#M64336</link>
      <description>&lt;P&gt;No, i don't think this is the issue, after figuring out my workaround with the x, I cleaned it up a bit by adding a letter on each key:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SDCS-liveclone-xxxxxx-st_XmlWinEventLog:Security]
TRANSFORMS-SDCSa-liveclone-xxxxxx-wes-route1 = SDCS-liveclone-xxxxxx-wes_Filter
TRANSFORMS-SDCSb-liveclone-xxxxxx-wes-route2 = SDCS-liveclone-xxxxxx-ls_SwitchIndex
TRANSFORMS-SDCSc-liveclone-xxxxxx-wes-route3 = SDCS-common-xxxxxx-DiscardEvents
TRANSFORMS-SDCSd-liveclone-xxxxxx-wes-route4 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCSe-liveclone-xxxxxx-wes-route5 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCSf-liveclone-xxxxxx-wes-route6 = SDCS-liveclone-xxxxxx-wse_UsernameAnonymizer
TRANSFORMS-SDCSg-liveclone-xxxxxx-wes-route7 = SDCS-liveclone-xxxxxx-ls_SwitchRoute
TRANSFORMS-SDCSh-liveclone-xxxxxx-wes-route8 = SDCS-common-xxxxxx-CleanSourceType
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This keeps the order the same as the original and it works just fine.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 12:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350573#M64336</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-11-03T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350574#M64337</link>
      <description>&lt;P&gt;Are you saying adding the letters corrected the ordering? That would be fixing ASCII ordering as I suggested. Otherwise, just to clarify you are saying that the TRANSFORMS-SDCSg-liveclone-xxxxxx-wes-route7 = SDCS-liveclone-xxxxxx-ls_SwitchRoute isn't processing or it doesn't process TRANSFORMS-SDCSh-liveclone-xxxxxx-wes-route8 = SDCS-common-xxxxxx-CleanSourceType&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 17:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350574#M64337</guid>
      <dc:creator>jgbricker</dc:creator>
      <dc:date>2017-11-03T17:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350575#M64338</link>
      <description>&lt;P&gt;No, adding the letter after TRANSFORMS-SDCS on all rules does not change the ASCII ordering, it is the same ordering as I started with, there it is enforced with the number at the end of the name. &lt;BR /&gt;
I have in fact the exact same configuration without the letters which works, the only difference it that the rules are named TRANSFORMS-SDCSh-verifyclone... instead of TRANSFORMS-SDCSh-liveclone....&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 07:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350575#M64338</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2017-11-09T07:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: why are props.conf keys not recognized</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350576#M64339</link>
      <description>&lt;P&gt;Giving an answer myself just do document what i found:&lt;BR /&gt;
I am using key names as below, the number 1 is the part which is used to order the keys&lt;BR /&gt;
TRANSFORMS-SDCSa-liveclone-xxxxxx-wes-route1&lt;/P&gt;

&lt;P&gt;It works in the folksinging two cases&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the number is in the first 20 chars after TRANSFORMS- &lt;/LI&gt;
&lt;LI&gt;there are no - (minus) signs in the key after TRANSFORMS-&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 20 Mar 2018 07:56:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/why-are-props-conf-keys-not-recognized/m-p/350576#M64339</guid>
      <dc:creator>FritzWittwer_ol</dc:creator>
      <dc:date>2018-03-20T07:56:49Z</dc:date>
    </item>
  </channel>
</rss>

