<?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 my props/transforms not taking effect? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438239#M124756</link>
    <description>&lt;P&gt;Thanks to both of you.  The Wiki article is invaluable, and should be re-incorporated into official documentation.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Sep 2018 08:43:54 GMT</pubDate>
    <dc:creator>ajhstn</dc:creator>
    <dc:date>2018-09-06T08:43:54Z</dc:date>
    <item>
      <title>Why are my props/transforms not taking effect?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438236#M124753</link>
      <description>&lt;P&gt;Hello, i have a single Splunk Enterprise instance with a 9997 listener.  I have a single Windows Server with a UF forwarding data to the Splunk Enterprise.  This is all good; data is being forwarded as expected.&lt;/P&gt;

&lt;P&gt;I am now trying to make a few props.conf changes to the data, but none of my configuration seems to make any difference, when i go look in the Splunk Enterprise search app.&lt;/P&gt;

&lt;P&gt;Here in &lt;CODE&gt;props.conf&lt;/CODE&gt; i a, trying to transform the host, set the timezone to Sydney and set the event time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:*]
TRANSFORMS-change_host = WinEventHostOverride
TZ = Australia/Sydney
DATETIME_CONFIG = CURRENT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here in &lt;CODE&gt;transforms.conf&lt;/CODE&gt; is my host overide block;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventHostOverride]
DEST_KEY = MetaData:Host
REGEX = (?m)^ComputerName=([\S]*)
FORMAT = host::$1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On every change i make, i have performed a &lt;CODE&gt;splunk.exe restart&lt;/CODE&gt; on the UF host. However, nothing appears to change in my index.&lt;/P&gt;

&lt;P&gt;Here is a sample from my index.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;As you can see the &lt;CODE&gt;Time&lt;/CODE&gt; field is UTC, but i want the time in the actual Event to be the Time.&lt;/LI&gt;
&lt;LI&gt;The &lt;CODE&gt;host&lt;/CODE&gt; field is not transforming to the correct ComputerName field in the event.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5699iE453903C95459E04/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Using Answers from other questions, i used the following search query to "test" the regex and it appears to work, so i am confused why it doesn't work.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* | head 1 | eval testdata="ComputerName=ahslc01p" | regex testdata="(?m)^ComputerName=([\S]*)" | stats count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 Sep 2018 22:10:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438236#M124753</guid>
      <dc:creator>ajhstn</dc:creator>
      <dc:date>2018-09-02T22:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my props/transforms not taking effect?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438237#M124754</link>
      <description>&lt;P&gt;A two things I can spot:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;in &lt;CODE&gt;props.conf&lt;/CODE&gt; you are using a &lt;CODE&gt;*&lt;/CODE&gt; in the sourcetype name, this is not supported.&lt;/LI&gt;
&lt;LI&gt;you restarted the UF after each change - but the props/transforms should be applied on your single Splunk instance&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 00:26:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438237#M124754</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-09-03T00:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my props/transforms not taking effect?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438238#M124755</link>
      <description>&lt;P&gt;Yep, this is a slightly old piece of documentation, but it gives a good understanding of what goes where, in terms of configuration items.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;https://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 08:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438238#M124755</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2018-09-06T08:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my props/transforms not taking effect?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438239#M124756</link>
      <description>&lt;P&gt;Thanks to both of you.  The Wiki article is invaluable, and should be re-incorporated into official documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 08:43:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438239#M124756</guid>
      <dc:creator>ajhstn</dc:creator>
      <dc:date>2018-09-06T08:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my props/transforms not taking effect?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438240#M124757</link>
      <description>&lt;P&gt;Thank you, this Wiki was invaluable and should be incorporated back into official documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 08:45:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-props-transforms-not-taking-effect/m-p/438240#M124757</guid>
      <dc:creator>ajhstn</dc:creator>
      <dc:date>2018-09-06T08:45:27Z</dc:date>
    </item>
  </channel>
</rss>

