<?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: Remove Trailing Data After 65K bytes in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199696#M7801</link>
    <description>&lt;P&gt;Yeah, something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval field = substr(field, 1, 64000)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I didn't test, so you might need to do an if statement to only truncate if there are more than 64k characters.  As for doing this for every field in arbitrary results, this would be quite hard.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2014 03:21:54 GMT</pubDate>
    <dc:creator>araitz</dc:creator>
    <dc:date>2014-03-27T03:21:54Z</dc:date>
    <item>
      <title>Remove Trailing Data After 65K bytes</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199694#M7799</link>
      <description>&lt;P&gt;I am using Splunk DB Connect to push data into a Teradata database, the limitation of the ODBC driver is that is can only handle 64K bytes of data in a single field... which on this data set (HL7) is fairly common. Is there a command I can use in Splunk to strip out the remaining data so this will not fail? I was thinking SED but I do not know how to set that up for bytes...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 21:31:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199694#M7799</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2014-03-26T21:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Trailing Data After 65K bytes</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199695#M7800</link>
      <description>&lt;P&gt;Hi Shane,&lt;/P&gt;

&lt;P&gt;Are you trying to emit raw records or tabular data? If a table, you can just eval down to a smaller data set.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2014 22:41:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199695#M7800</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2014-03-26T22:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Trailing Data After 65K bytes</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199696#M7801</link>
      <description>&lt;P&gt;Yeah, something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval field = substr(field, 1, 64000)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I didn't test, so you might need to do an if statement to only truncate if there are more than 64k characters.  As for doing this for every field in arbitrary results, this would be quite hard.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2014 03:21:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199696#M7801</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2014-03-27T03:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Trailing Data After 65K bytes</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199697#M7802</link>
      <description>&lt;P&gt;For lab and rad results the "column" containing the HL7 message can exceed 500K characters. For our purposes, we are thinking that most of the data we need will be in the first 64K characters. I will give this a shot tomorrow.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 01:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Remove-Trailing-Data-After-65K-bytes/m-p/199697#M7802</guid>
      <dc:creator>ShaneNewman</dc:creator>
      <dc:date>2014-03-28T01:08:33Z</dc:date>
    </item>
  </channel>
</rss>

