<?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: Splunk truncates field prior to indexing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109324#M22982</link>
    <description>&lt;P&gt;Hi bruceclarke,&lt;/P&gt;

&lt;P&gt;What kind of forwarder is it? &lt;BR /&gt;
If it is a heavy forwarder, place the props.conf on it; if it is a universal forwarder place the props.conf on the indexer. &lt;BR /&gt;
Read this nice wiki post to learn more about this &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can also check &lt;CODE&gt;splunkd.log&lt;/CODE&gt; for something like this &lt;CODE&gt;WARN LineBreakingProcessor - Truncating line because limit of 10000 has been exceeded&lt;/CODE&gt; to verify if it is really a truncating problem.&lt;/P&gt;

&lt;P&gt;Also run &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list YourSourceType | grep TRUNCATE&lt;/CODE&gt; to verify your &lt;CODE&gt;props.conf&lt;/CODE&gt; is applied.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2015 22:29:13 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2015-07-07T22:29:13Z</dc:date>
    <item>
      <title>Splunk truncates field prior to indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109323#M22981</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I'm forwarding data from a Splunk forwarder that has one field with a long value (over 10k characters). I want to have Splunk index this field without truncating the value. I've set props.conf to have &lt;CODE&gt;TRUNCATE = 0&lt;/CODE&gt; for the appropriate sourcetype. I also modified limits.conf to have &lt;CODE&gt;maxchars=1000000&lt;/CODE&gt; for the kv stanza. Neither worked.&lt;/P&gt;

&lt;P&gt;I'm also unclear if this is actually a limits issue, since I run the following query and get a different value for the length of the field. Typically the length is around 3900 characters, but it fluctuates by +/- 100 characters.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sourcetype=sourceTypeWithTruncatedField | eval l = len(truncatedField)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Why else might Splunk be truncating this field? I know the field isn't truncating in the log file we're forwarding, so I assume the issue is occurring on index.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 22:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109323#M22981</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-07T22:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk truncates field prior to indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109324#M22982</link>
      <description>&lt;P&gt;Hi bruceclarke,&lt;/P&gt;

&lt;P&gt;What kind of forwarder is it? &lt;BR /&gt;
If it is a heavy forwarder, place the props.conf on it; if it is a universal forwarder place the props.conf on the indexer. &lt;BR /&gt;
Read this nice wiki post to learn more about this &lt;A href="http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F"&gt;http://wiki.splunk.com/Where_do_I_configure_my_Splunk_settings%3F&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can also check &lt;CODE&gt;splunkd.log&lt;/CODE&gt; for something like this &lt;CODE&gt;WARN LineBreakingProcessor - Truncating line because limit of 10000 has been exceeded&lt;/CODE&gt; to verify if it is really a truncating problem.&lt;/P&gt;

&lt;P&gt;Also run &lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool props list YourSourceType | grep TRUNCATE&lt;/CODE&gt; to verify your &lt;CODE&gt;props.conf&lt;/CODE&gt; is applied.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 22:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109324#M22982</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-07-07T22:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk truncates field prior to indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109325#M22983</link>
      <description>&lt;P&gt;It should be a universal forwarder, but good point. I'll double check this. And thanks for the command line options - even if they don't help debug this issue, they're great to have.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2015 18:51:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109325#M22983</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-08T18:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk truncates field prior to indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109326#M22984</link>
      <description>&lt;P&gt;It looks like this input was set up using a powershell script that queries a SQL database for information. I believe the truncation was actually on SQL's end. It only prints the first 8000 characters of the column.&lt;/P&gt;

&lt;P&gt;I'm looking into the issue more, but this should be enough to go on for now.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2015 14:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-truncates-field-prior-to-indexing/m-p/109326#M22984</guid>
      <dc:creator>bruceclarke</dc:creator>
      <dc:date>2015-07-09T14:57:38Z</dc:date>
    </item>
  </channel>
</rss>

