<?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: can't extract the field, below error shows up, in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399690#M115869</link>
    <description>&lt;P&gt;@simranrathi while posting code/data use the &lt;CODE&gt;code&lt;/CODE&gt; button on Splunk Answers i.e. &lt;CODE&gt;101010 or Shortcut Ctrl+K&lt;/CODE&gt; so that special characters do not escape.&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 05:43:23 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-05-16T05:43:23Z</dc:date>
    <item>
      <title>can't extract the field, below error shows up,</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399688#M115867</link>
      <description>&lt;P&gt;Argument 'value' contains invalid character &amp;#27;: ^&amp;#27;[\d+;\d+\w+\s+\d+-\d+-\d+\s+\d+:\d+:\d+,\d+\s+[\w+::\w+.\w+.\w+.\w+.\w+.\w+.\w+]\s+[][][\w+\d+][][](\w+)\s+[\w+]\s+\w+\s+\w+\s+\d+\s+\w+\s+&amp;#27;[\w+.\w+.\w+.\w+:\s+\w+\s+\w+\s+\w+\s+\w+[\w+:\d+,(?P[^,]+)&lt;/P&gt;

&lt;P&gt;I'm trying to run this query to extract fields&lt;BR /&gt;
index=tomcat (java.sql.SQLException: ORA-12899: value too large for column "NLHYP_USER"."PRODUCTSLP"."P_WASHCARE") &lt;BR /&gt;
| rex field=message_text "itemPK:\s(?[^\,]+)" | rex field=message_text "langPK:\s(?[^\,]+)"&lt;/P&gt;

&lt;P&gt;This field has to be extracted::&lt;/P&gt;

&lt;P&gt;[itemPK:8977222991873,langPK:8796093120544,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:32:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399688#M115867</guid>
      <dc:creator>simranrathi</dc:creator>
      <dc:date>2020-09-29T19:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: can't extract the field, below error shows up,</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399689#M115868</link>
      <description>&lt;P&gt;Try this run anywhere search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval message_text="[itemPK:8977222991873,langPK:8796093120544," 
| rex field=message_text "itemPK:(?&amp;lt;itemPK&amp;gt;[^\,]+)\,langPK:(?&amp;lt;langPK&amp;gt;[^\,]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your environment you should try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=tomcat (java.sql.SQLException: ORA-12899: value too large for column "NLHYP_USER"."PRODUCTSLP"."P_WASHCARE") 
| rex field=message_text  "itemPK:(?&amp;lt;itemPK&amp;gt;[^\,]+)\,langPK:(?&amp;lt;langPK&amp;gt;[^\,]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 05:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399689#M115868</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-05-16T05:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: can't extract the field, below error shows up,</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399690#M115869</link>
      <description>&lt;P&gt;@simranrathi while posting code/data use the &lt;CODE&gt;code&lt;/CODE&gt; button on Splunk Answers i.e. &lt;CODE&gt;101010 or Shortcut Ctrl+K&lt;/CODE&gt; so that special characters do not escape.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 05:43:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399690#M115869</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-16T05:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: can't extract the field, below error shows up,</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399691#M115870</link>
      <description>&lt;P&gt;I've tried this&lt;BR /&gt;
but it is only showing me the results for this particular event&lt;BR /&gt;
I want more of a generic search to extract all the events' fields&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 07:06:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399691#M115870</guid>
      <dc:creator>simranrathi</dc:creator>
      <dc:date>2018-05-16T07:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: can't extract the field, below error shows up,</title>
      <link>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399692#M115871</link>
      <description>&lt;P&gt;for that, you would need to give me sample data of all such events. No one can give you regex without seeing at the events. Please provide all sample different types of events from which you want to extract these fields.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/can-t-extract-the-field-below-error-shows-up/m-p/399692#M115871</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-05-16T09:59:48Z</dc:date>
    </item>
  </channel>
</rss>

