<?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: Extraction error from log file in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359285#M5823</link>
    <description>&lt;P&gt;@Sukisen1981...thank you for your response .will check and comeback ASAP&lt;/P&gt;</description>
    <pubDate>Mon, 02 Oct 2017 21:44:01 GMT</pubDate>
    <dc:creator>nagaraju_chitta</dc:creator>
    <dc:date>2017-10-02T21:44:01Z</dc:date>
    <item>
      <title>Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359272#M5810</link>
      <description>&lt;P&gt;All,&lt;BR /&gt;
would like to extract the below information from the logs&lt;BR /&gt;
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: "[% JMS.LOGSBUS.JMS_Input_Consumers %]"&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
    at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
    at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
    at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
    at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;

&lt;P&gt;Out of the above sample would like to extract the below&lt;/P&gt;

&lt;P&gt;caused by: org.apache.camel.TypeConversionException&lt;BR /&gt;
Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: "[% JMS.LOGSBUS.JMS_Input_Consumers %]"&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
    at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
    at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
    at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
    at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359272#M5810</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2020-09-29T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359273#M5811</link>
      <description>&lt;P&gt;try this,&lt;/P&gt;

&lt;P&gt;| makeresults | eval test="Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)" | rex field=test mode=sed "s/(: Error)/ Description: Error/g"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:01:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359273#M5811</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2020-09-29T16:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359274#M5812</link>
      <description>&lt;P&gt;Hi - Try this&lt;/P&gt;

&lt;P&gt;|  rex field=_raw (?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359274#M5812</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-27T06:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359275#M5813</link>
      <description>&lt;P&gt;|  rex field=_raw (?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359275#M5813</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-27T06:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359276#M5814</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;|  rex field=_raw (?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:46:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359276#M5814</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-27T06:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359277#M5815</link>
      <description>&lt;P&gt;sorry some issue. code is not getting pasted..attaching the code&lt;A href="https://answers.splunk.comstorage/temp/216637-logs.txt"&gt;link text&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359277#M5815</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-27T06:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359278#M5816</link>
      <description>&lt;P&gt;Hi sbbadri,&lt;BR /&gt;
Thanks for the quick response. The requirement is I need to get the count for  "Caused By" and for each Caused by  separation from the sample below. For example in the below sample I have 3 types of Caused by exceptions. So the caused by count should be 3 and I need to display 3 different line of the caused by exceptions say&lt;BR /&gt;
&lt;STRONG&gt;Caused by count: 3&lt;BR /&gt;
Cause1 Error: org.apache.camel.TypeConversionException:&lt;BR /&gt;
Cause1 Description:&lt;/STRONG&gt; "Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) &lt;BR /&gt;
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Caused by count: 3&lt;BR /&gt;
Cause1 Error: org.apache.camel.NumberFormatException:&lt;BR /&gt;
Cause1 Description:"&lt;/STRONG&gt;Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Caused by count: 3&lt;BR /&gt;
Cause1 Error: org.apache.camel.ArrayIndexOutofboundException::&lt;BR /&gt;
Cause1 Description&lt;/STRONG&gt;:"Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SAMPLE DATA Below:&lt;/STRONG&gt;&lt;BR /&gt;
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) &lt;BR /&gt;
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:02:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359278#M5816</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2020-09-29T16:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359279#M5817</link>
      <description>&lt;P&gt;out of the below sample data would like to extract &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;number of cause by errors count : 3&lt;/LI&gt;
&lt;LI&gt;For each cause by Error: org.apache.camel.TypeConversionException:&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;number of cause by errors count : 3&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For each cause by Error: org.apache.camel.NumberFormatException&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description:Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;number of cause by errors count : 3&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For each cause by Error: org.apache.camel.ArrayIndexOutofboundException:&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;SAMPLE DATA*&lt;EM&gt;strong text&lt;/EM&gt;*&lt;BR /&gt;
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) &lt;BR /&gt;
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359279#M5817</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2020-09-29T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359280#M5818</link>
      <description>&lt;P&gt;The above is is pulling the whole stack trace. The ask is  as follows&lt;BR /&gt;
out of the below sample data would like to extract &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;number of cause by errors count : 3&lt;/LI&gt;
&lt;LI&gt;For each cause by Error: org.apache.camel.TypeConversionException:&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;number of cause by errors count : 3&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For each cause by Error: org.apache.camel.NumberFormatException&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description:Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;number of cause by errors count : 3&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;For each cause by Error: org.apache.camel.ArrayIndexOutofboundException:&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)&lt;BR /&gt;
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)&lt;BR /&gt;
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)&lt;BR /&gt;
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)&lt;BR /&gt;
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;BR /&gt;
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) &lt;BR /&gt;
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;BR /&gt;
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMS_Input_Consumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMS_Input_Consumers %]\"&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)&lt;BR /&gt;
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:02:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359280#M5818</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2020-09-29T16:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359281#M5819</link>
      <description>&lt;P&gt;For new splunker's and @Sukisen1981 reference, &lt;BR /&gt;
when writing SPL queries, we will need to do this step - &lt;BR /&gt;
    1. select the SPL query lines and then, on the editing ribbon/tool bar, choose the 5th icon "Code Sample", so that the SPL code will be preserved.&lt;BR /&gt;
2. another short cut is adding &lt;CODE&gt;&amp;lt;pre&amp;gt; SPL query &amp;lt;/pre&amp;gt;&lt;/CODE&gt; also can do the same.&lt;BR /&gt;
3. around the SPL query, we can add "backtick (&lt;CODE&gt;)" as well.. that will make the SPL as above on the 2nd point(not the full line, only the SPL will become&lt;/CODE&gt;code`)&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3553i21D8CD77F1980A53/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 11:35:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359281#M5819</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2017-09-27T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359282#M5820</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;|  rex field=_raw (?&amp;lt;Title&amp;gt;.*?)": Error" 
 | rex field=_raw (?s)Error(?&amp;lt;Description&amp;gt;.*)
| eval Description="Description: Error"+Description
| table Title,Description
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;thanks @inventsekar &lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 12:19:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359282#M5820</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-27T12:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359283#M5821</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| eval s=split(_raw,"Caused by:")
| rex field=_raw max_match=0 "(?&amp;lt;errcount&amp;gt;\ Error)"
 | stats count(errcount) by s 
| rex field=s max_match=0 (?&amp;lt;Title&amp;gt;.*?)": Error" 
| reverse 
| where Title !="*"
| rex field=s (?s)":"(?&amp;lt;Description&amp;gt;.*) 
| rename count(errcount) AS count 
|fields count,Title,Description
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hi your requirement is clear now, try this...if you want as rows that can be done as well...but just see this output first....&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 13:24:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359283#M5821</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-28T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359284#M5822</link>
      <description>&lt;P&gt;hi - did you check this out?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 15:25:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359284#M5822</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2017-09-29T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359285#M5823</link>
      <description>&lt;P&gt;@Sukisen1981...thank you for your response .will check and comeback ASAP&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 21:44:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359285#M5823</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2017-10-02T21:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extraction error from log file</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359286#M5824</link>
      <description>&lt;P&gt;@Sukisen1981: The moment I say &lt;BR /&gt;
     |  rex field=_raw (?&lt;TITLE&gt;.*?)": Error" &lt;/TITLE&gt;&lt;/P&gt;

&lt;P&gt;the search will hung since too many errors will be there in the log and leads to performance hit. Is there way we can extract a portion and then try?&lt;BR /&gt;
Error and related causeby from the logs&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 17:54:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Extraction-error-from-log-file/m-p/359286#M5824</guid>
      <dc:creator>nagaraju_chitta</dc:creator>
      <dc:date>2017-10-11T17:54:31Z</dc:date>
    </item>
  </channel>
</rss>

