<?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: Does SOURCE_KEY have the same limitations as EXTRACT in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/685932#M234042</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/172955"&gt;@jwhughes58&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Using REPORT, you generally call the transforms stanza that has the transformations written for extractions, routing, etc. You can simply write the regex that matches against _raw and extract the field required. If you use REPORT and call the transforms to extract the field, the same thing will happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you necessarily want to use EXTRACT, you need to extract the&amp;nbsp;&lt;SPAN&gt;Match_Details.match.properties.user field at index time and replace the (.) with (_). Then you'll be able to use EXTRACT parameter in props.conf for search time field extractions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, you can also consider using &lt;STRONG&gt;rex&amp;nbsp;&lt;/STRONG&gt;command in the SPL query to extract the fields at search time.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Relevant documents:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Propsconf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Rex" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Rex&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tejas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the above solution helps, an upvote is appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 08:15:52 GMT</pubDate>
    <dc:creator>tej57</dc:creator>
    <dc:date>2024-04-30T08:15:52Z</dc:date>
    <item>
      <title>Does SOURCE_KEY have the same limitations as EXTRACT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/685875#M234017</link>
      <description>&lt;P&gt;I'm working with a field named Match_Details.match.properties.user.&amp;nbsp; It contains domain\user information that I'm trying to split into domain and user.&amp;nbsp; I can't use EXTRACT in props.conf because of this restriction.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EXTRACT-&amp;lt;class&amp;gt; = [&amp;lt;regex&amp;gt;|&amp;lt;regex&amp;gt; in &amp;lt;src_field&amp;gt;]
 
NOTE: &amp;lt;src_field&amp;gt; has the following restrictions:
  * It can only contain alphanumeric characters and underscore
    (a-z, A-Z, 0-9, and _).&lt;/LI-CODE&gt;&lt;P&gt;Is this also true with REPORT in transforms.conf?&amp;nbsp; I can't find any documentation that tells me.&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 17:47:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/685875#M234017</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-04-29T17:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Does SOURCE_KEY have the same limitations as EXTRACT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/685932#M234042</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/172955"&gt;@jwhughes58&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Using REPORT, you generally call the transforms stanza that has the transformations written for extractions, routing, etc. You can simply write the regex that matches against _raw and extract the field required. If you use REPORT and call the transforms to extract the field, the same thing will happen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you necessarily want to use EXTRACT, you need to extract the&amp;nbsp;&lt;SPAN&gt;Match_Details.match.properties.user field at index time and replace the (.) with (_). Then you'll be able to use EXTRACT parameter in props.conf for search time field extractions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, you can also consider using &lt;STRONG&gt;rex&amp;nbsp;&lt;/STRONG&gt;command in the SPL query to extract the fields at search time.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Relevant documents:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Propsconf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Rex" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Rex&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tejas.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the above solution helps, an upvote is appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 08:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/685932#M234042</guid>
      <dc:creator>tej57</dc:creator>
      <dc:date>2024-04-30T08:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Does SOURCE_KEY have the same limitations as EXTRACT</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/686014#M234077</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Since transforms.conf doesn't have the limitations of EXTRACT, I finally got it working.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 17:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Does-SOURCE-KEY-have-the-same-limitations-as-EXTRACT/m-p/686014#M234077</guid>
      <dc:creator>jwhughes58</dc:creator>
      <dc:date>2024-04-30T17:03:28Z</dc:date>
    </item>
  </channel>
</rss>

