<?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: Error when trying to extract fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469338#M132086</link>
    <description>&lt;P&gt;Thanks! Seems I should start learning regex's instead of relying on the Splunk extractor &lt;/P&gt;</description>
    <pubDate>Mon, 23 Dec 2019 21:33:17 GMT</pubDate>
    <dc:creator>mcg_connor</dc:creator>
    <dc:date>2019-12-23T21:33:17Z</dc:date>
    <item>
      <title>Error when trying to extract fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469336#M132084</link>
      <description>&lt;P&gt;I currently am trying to extract the externalDropshipId from the following log&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; "updatedTimestamp" : "2019-12-23T20:43:04.774Z",
  "fulfillmentOrderId" : "124B27HTRBRZC9L6P9KL7GC968",
  "externalOrderId" : "9163225842155",
  "externalDropshipId" : "6372205554",
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am using the field extractor and selecting &lt;CODE&gt;externalDropshipID&lt;/CODE&gt; as the required text and &lt;CODE&gt;6372205554&lt;/CODE&gt; as the field.&lt;/P&gt;

&lt;P&gt;This is resulting in the following error.. &lt;BR /&gt;
 The extraction failed. If you are extracting multiple fields, try removing one or more fields. Start with extractions that are embedded within longer text strings.&lt;/P&gt;

&lt;P&gt;How would I go about fixing this?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 20:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469336#M132084</guid>
      <dc:creator>mcg_connor</dc:creator>
      <dc:date>2019-12-23T20:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to extract fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469337#M132085</link>
      <description>&lt;P&gt;try replacing the regex in the field extractor with this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;externalDropshipId\W\s:\s"(?&amp;lt;externalDropshipId&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Dec 2019 21:17:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469337#M132085</guid>
      <dc:creator>mydog8it</dc:creator>
      <dc:date>2019-12-23T21:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to extract fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469338#M132086</link>
      <description>&lt;P&gt;Thanks! Seems I should start learning regex's instead of relying on the Splunk extractor &lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 21:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469338#M132086</guid>
      <dc:creator>mcg_connor</dc:creator>
      <dc:date>2019-12-23T21:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to extract fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469339#M132087</link>
      <description>&lt;P&gt;regex101.com is a great site to test regex between that and the Splunk Quick Reference available here--&amp;gt;&amp;gt;&lt;BR /&gt;
&lt;A href="https://www.splunk.com/pdfs/solution-guides/splunk-quick-reference-guide.pdf"&gt;Splunk Quick Reference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can get a start developing more complex field extractions than the field extractor was meant to provide.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 21:41:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-when-trying-to-extract-fields/m-p/469339#M132087</guid>
      <dc:creator>mydog8it</dc:creator>
      <dc:date>2019-12-23T21:41:16Z</dc:date>
    </item>
  </channel>
</rss>

