<?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 isn't my transforms working? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377915#M68349</link>
    <description>&lt;P&gt;Could you provide a few sample events containing both; events you'd like to keep and events you'd like to discard?&lt;BR /&gt;
The events have to meet both criteria? i.e. Event code &lt;STRONG&gt;AND&lt;/STRONG&gt; result code?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 20:30:48 GMT</pubDate>
    <dc:creator>oscar84x</dc:creator>
    <dc:date>2019-07-11T20:30:48Z</dc:date>
    <item>
      <title>Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377913#M68347</link>
      <description>&lt;P&gt;\etc\system\local\transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[drop4768OK]
REGEX = EventCode=4768(.|\t|\r|\n)*Result.*Code.*0x0
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;\etc\system\local\props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::WinEventLog:Security]
TRANSFORMS-set = drop4768OK
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After a reboot, events with &lt;EM&gt;Event Code&lt;/EM&gt; 4768 and &lt;EM&gt;Result Code&lt;/EM&gt; 0x0 are still being indexed. What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377913#M68347</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-11T20:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377914#M68348</link>
      <description>&lt;P&gt;You shouldn't be putting stuff in &lt;CODE&gt;$SPLUNK_HOME/etc/system/local&lt;/CODE&gt;; you should be creating your own app based on either the sourcetype or the splunk-node type (e.g. Indexer).  In any case, if you are doing a sourcetype override/overwrite, you must use the ORIGINAL values NOT the new value (you are not, so that's not your problem), then you must deploy this to the first full instance(s) of Splunk that handles the events (usually either the HF-tier, if you use that, or your Indexer tier), restart all Splunk instances there, send in new events (old events will stay broken), then test using _index_earliest=-5m to be absolutely certain that you are only examining the newly indexed events.  I think that last bit is your problem.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377914#M68348</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-30T01:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377915#M68349</link>
      <description>&lt;P&gt;Could you provide a few sample events containing both; events you'd like to keep and events you'd like to discard?&lt;BR /&gt;
The events have to meet both criteria? i.e. Event code &lt;STRONG&gt;AND&lt;/STRONG&gt; result code?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:30:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377915#M68349</guid>
      <dc:creator>oscar84x</dc:creator>
      <dc:date>2019-07-11T20:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377916#M68350</link>
      <description>&lt;P&gt;&lt;A href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4768"&gt;https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4768&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Yes, discard events with EventID 4768 AND result code 0x0, keep the rest.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377916#M68350</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-11T20:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377917#M68351</link>
      <description>&lt;P&gt;So you're saying the transforms should go in the deployed app? The UF discards the event before even sending it?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 20:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377917#M68351</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-11T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377918#M68352</link>
      <description>&lt;P&gt;Nope, I am saying it has to go on the Indexers (probably), but DEFINITELY NOT on the UF.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 21:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377918#M68352</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-11T21:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377919#M68353</link>
      <description>&lt;P&gt;Ok, it's on the Indexer. Everything's been restarted. I understand only new events will be affected by the change.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 21:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377919#M68353</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-11T21:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377920#M68354</link>
      <description>&lt;P&gt;Right, so is it working?  If so, come back and click &lt;CODE&gt;Accept&lt;/CODE&gt; to close the question.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 02:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377920#M68354</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-12T02:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377921#M68355</link>
      <description>&lt;P&gt;It is not working. I'll try putting the transforms in the search app.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 19:59:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377921#M68355</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-12T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377922#M68356</link>
      <description>&lt;P&gt;NO!  Not in anybody else's stuff.  Create your &lt;EM&gt;own&lt;/EM&gt; app in `$SPLUNK_HOME/etc/apps//default/{transforms,props}.conf.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 02:06:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377922#M68356</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-14T02:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377923#M68357</link>
      <description>&lt;P&gt;First of all, you should have a better RegEx, like &lt;CODE&gt;^EventCode=4768[\S\s\r\n]+Result\s*Code:\s+0x0\D&lt;/CODE&gt;.  Even so, yours should work.  I would try using a &lt;CODE&gt;sourcetype-based&lt;/CODE&gt; stanza header, instead of your &lt;CODE&gt;source-based&lt;/CODE&gt; one.  Again, what you have &lt;EM&gt;should&lt;/EM&gt; work but since it isn't, let's try something else.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2019 22:59:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377923#M68357</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-14T22:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377924#M68358</link>
      <description>&lt;P&gt;Regex isn't my strong suit. I usually mess around with it in a regex "calculator" to ensure it matches correctly before deploying it.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:09:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377924#M68358</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-17T14:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't my transforms working?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377925#M68359</link>
      <description>&lt;P&gt;Alright. I've never seen this recommended in the 2 years I've worked with Splunk Engineers, Splunk Answers, or Splunk Support. Unless it's specifically related to certain config changes?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:11:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-my-transforms-working/m-p/377925#M68359</guid>
      <dc:creator>tmontney</dc:creator>
      <dc:date>2019-07-17T14:11:16Z</dc:date>
    </item>
  </channel>
</rss>

