<?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: Bug in spath ? Not recovering every fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103781#M26822</link>
    <description>&lt;P&gt;I had been hitting the same problem: some events had xml that was longer than 5000 characters, and spath wasn't extracting all the fields I knew were in there.&lt;/P&gt;

&lt;P&gt;Here's how to fix it:&lt;BR /&gt;
Override the spath character limit in $splunk_home%/etc/system/local/limits.conf.&lt;/P&gt;

&lt;P&gt;My exact edit was to add the below config section to /opt/splunk/etc/system/local/limits.conf (since it wasn't there be default in 4.3.3).  I pulled this from /opt/splunk/etc/system/default/limit.conf:&lt;/P&gt;

&lt;P&gt;[spath]&lt;/P&gt;

&lt;H1&gt;number of characters to read from an XML or JSON event when auto extracting&lt;/H1&gt;

&lt;P&gt;extraction_cutoff = 10000&lt;/P&gt;

&lt;P&gt;I copied and pasted my answer from here: &lt;A href="http://answers.splunk.com/answers/179968/parsing-very-long-json-lines.html"&gt;http://answers.splunk.com/answers/179968/parsing-very-long-json-lines.html&lt;/A&gt;.  I hope that's ok.  These two Splunk answers were the top 2 in Google searches for, so I figured I'd contribute my solution in case it helps others.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2015 21:32:57 GMT</pubDate>
    <dc:creator>capnjosh</dc:creator>
    <dc:date>2015-01-13T21:32:57Z</dc:date>
    <item>
      <title>Bug in spath ? Not recovering every fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103779#M26820</link>
      <description>&lt;P&gt;Hi have a query, that try to get all the fields from an xml doc. &lt;BR /&gt;
For some reason, spath seems to ignore some of the fields, in the example below, this is the case with field LinienText under Splunk 5.0.2 :&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 11:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103779#M26820</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-10-17T11:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in spath ? Not recovering every fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103780#M26821</link>
      <description>&lt;P&gt;In Fact it is because of the limitation of spath from 5000 characters, I have 10000...&lt;/P&gt;

&lt;P&gt;for me it is really a problem don't being able to overwrite this setting as user... like "spath limit=10000"&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2013 08:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103780#M26821</guid>
      <dc:creator>sbsbb</dc:creator>
      <dc:date>2013-10-18T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in spath ? Not recovering every fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103781#M26822</link>
      <description>&lt;P&gt;I had been hitting the same problem: some events had xml that was longer than 5000 characters, and spath wasn't extracting all the fields I knew were in there.&lt;/P&gt;

&lt;P&gt;Here's how to fix it:&lt;BR /&gt;
Override the spath character limit in $splunk_home%/etc/system/local/limits.conf.&lt;/P&gt;

&lt;P&gt;My exact edit was to add the below config section to /opt/splunk/etc/system/local/limits.conf (since it wasn't there be default in 4.3.3).  I pulled this from /opt/splunk/etc/system/default/limit.conf:&lt;/P&gt;

&lt;P&gt;[spath]&lt;/P&gt;

&lt;H1&gt;number of characters to read from an XML or JSON event when auto extracting&lt;/H1&gt;

&lt;P&gt;extraction_cutoff = 10000&lt;/P&gt;

&lt;P&gt;I copied and pasted my answer from here: &lt;A href="http://answers.splunk.com/answers/179968/parsing-very-long-json-lines.html"&gt;http://answers.splunk.com/answers/179968/parsing-very-long-json-lines.html&lt;/A&gt;.  I hope that's ok.  These two Splunk answers were the top 2 in Google searches for, so I figured I'd contribute my solution in case it helps others.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 21:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Bug-in-spath-Not-recovering-every-fields/m-p/103781#M26822</guid>
      <dc:creator>capnjosh</dc:creator>
      <dc:date>2015-01-13T21:32:57Z</dc:date>
    </item>
  </channel>
</rss>

