<?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: Understanding the relationship between props.conf and transforms.con in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/525594#M88724</link>
    <description>&lt;P&gt;Good point the EXTRACT, REPORT and TRANSFORMS class names must be unique&amp;nbsp; (i.e TRANSFORMS-abc and TRANSFORMS-xyz and NOT&amp;nbsp; TRANSFORMS-abc and&amp;nbsp; TRANSFORMS-abc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 15:34:27 GMT</pubDate>
    <dc:creator>anwarmian</dc:creator>
    <dc:date>2020-10-20T15:34:27Z</dc:date>
    <item>
      <title>Understanding the relationship between props.conf and transforms.con</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482724#M82699</link>
      <description>&lt;P&gt;I am setting up a specific forwarder to monitor a log file that generates logs for multiple cases, but I only care about one, so I decided to filter the logs when they reach the server by utilizing the combination of nullQueue and indexQueue, in that order, to only retain the logs that matter to me.&lt;/P&gt;

&lt;P&gt;What I don't understand in the props.conf is the purpose of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::&amp;lt;source&amp;gt;]
TRANSFORMS-&amp;lt;class&amp;gt; = &amp;lt;stanza_name&amp;gt;, etc.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What is the class in that entry? Can it be anything I want, should it tie to what the transform will do or does it have to be related to the stanzas I'll be calling? I read the "Route and filter data" page and I get the general idea, I just don't understand how to tie in the props.conf the configuration set in transforms.conf&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 18:52:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482724#M82699</guid>
      <dc:creator>ricotries</dc:creator>
      <dc:date>2020-01-13T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the relationship between props.conf and transforms.con</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482725#M82700</link>
      <description>&lt;P&gt;Hi ricotries,&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;What is the class in that entry? &lt;/P&gt;

&lt;P&gt;Can it be anything I want, should it tie&lt;BR /&gt;
to what the transform will do or does&lt;BR /&gt;
it have to be related to the stanzas&lt;BR /&gt;
I'll be calling?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The class entry needs to be a &lt;STRONG&gt;uniq&lt;/STRONG&gt; value that can be set to anything you want, there is no relation to the actual transforms.conf stanza you call. Usually I do something like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::&amp;lt;source&amp;gt;]
TRANSFORMS-001-ThisIsMyStanzaName = ThisIsMyStanzaName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it can also be something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::&amp;lt;source&amp;gt;]
TRANSFORMS-PleaseCallThisStanzaInTransforms = ThisIsMyStanzaName
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this makes sense and helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 19:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482725#M82700</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-01-13T19:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the relationship between props.conf and transforms.con</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482726#M82701</link>
      <description>&lt;P&gt;The class can be called any unique value, does that mean that if used once it shouldn't be used again? If I have two stanzas in props.conf that point to the same stanza in transforms.conf but are applied to two different sources, should I use the same class or use a different one? &lt;/P&gt;

&lt;P&gt;Would this be correct or no?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::source1]
TRANSFORMS-type1 = stanza1

[source::source2]
TRANSFORMS-type2 = stanza1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2020 11:01:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482726#M82701</guid>
      <dc:creator>ricotries</dc:creator>
      <dc:date>2020-01-14T11:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the relationship between props.conf and transforms.con</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482727#M82702</link>
      <description>&lt;P&gt;Yes, this is correct. The &lt;CODE&gt;class&lt;/CODE&gt; is fully arbitrary but needs to be unique per stanza and per field extraction type of &lt;CODE&gt;TRANSFORMS&lt;/CODE&gt;, &lt;CODE&gt;REPORT&lt;/CODE&gt;, and &lt;CODE&gt;EXTRACT&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I hope this does not confuse you more ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 19:45:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/482727#M82702</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2020-01-14T19:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding the relationship between props.conf and transforms.con</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/525594#M88724</link>
      <description>&lt;P&gt;Good point the EXTRACT, REPORT and TRANSFORMS class names must be unique&amp;nbsp; (i.e TRANSFORMS-abc and TRANSFORMS-xyz and NOT&amp;nbsp; TRANSFORMS-abc and&amp;nbsp; TRANSFORMS-abc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Understanding-the-relationship-between-props-conf-and-transforms/m-p/525594#M88724</guid>
      <dc:creator>anwarmian</dc:creator>
      <dc:date>2020-10-20T15:34:27Z</dc:date>
    </item>
  </channel>
</rss>

