<?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 EXTRACT source field in props.conf has 'period' in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516646#M87445</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been trying to get an EXTRACT to work in a TA that someone has made for me and after much searching I have narrowed the problem down to the fact that the source field is "model.name". According to the props.conf docs, the source must be alphanumerical or an underscore, the docs also say that the source cannot be derived from a filed alias etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[mysourcetype]&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;EXTRACT-CIM_category = ^(?&amp;lt;category&amp;gt;.*):: in model.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way therefore, to perform the regex extraction at search time on that field if I can't alias it? The docs say it can come from an preceding EXTRACT but what would the syntax be to rename the field to something like "model_name"? And how would this work because surely my source is always going to have the period in, which is incompatible with EXTRACT?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2020 07:35:25 GMT</pubDate>
    <dc:creator>Dworsnop</dc:creator>
    <dc:date>2020-08-28T07:35:25Z</dc:date>
    <item>
      <title>EXTRACT source field in props.conf has 'period'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516646#M87445</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been trying to get an EXTRACT to work in a TA that someone has made for me and after much searching I have narrowed the problem down to the fact that the source field is "model.name". According to the props.conf docs, the source must be alphanumerical or an underscore, the docs also say that the source cannot be derived from a filed alias etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[mysourcetype]&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;EXTRACT-CIM_category = ^(?&amp;lt;category&amp;gt;.*):: in model.name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way therefore, to perform the regex extraction at search time on that field if I can't alias it? The docs say it can come from an preceding EXTRACT but what would the syntax be to rename the field to something like "model_name"? And how would this work because surely my source is always going to have the period in, which is incompatible with EXTRACT?&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 07:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516646#M87445</guid>
      <dc:creator>Dworsnop</dc:creator>
      <dc:date>2020-08-28T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: EXTRACT source field in props.conf has 'period'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516700#M87450</link>
      <description>&lt;P&gt;Have you tried not using the &lt;FONT face="courier new,courier"&gt;IN&lt;/FONT&gt; keyword and matching against _raw?&amp;nbsp; You may need to modify the regex for it work against _raw.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 13:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516700#M87450</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-08-28T13:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: EXTRACT source field in props.conf has 'period'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516710#M87452</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;that's worked!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2020 13:55:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/EXTRACT-source-field-in-props-conf-has-period/m-p/516710#M87452</guid>
      <dc:creator>Dworsnop</dc:creator>
      <dc:date>2020-08-28T13:55:32Z</dc:date>
    </item>
  </channel>
</rss>

