<?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: How to configuring Splunk to not truncate scripted input running on the universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configuring-Splunk-to-not-truncate-scripted-input-running/m-p/595680#M104044</link>
    <description>&lt;P&gt;Obviously, the problem is not with Splunk truncating events or the TRUNCATE setting would make a difference and you would see truncate messages in the log.&lt;/P&gt;&lt;P&gt;Verify the script is running correctly by saving its output to a file and examining the file.&lt;/P&gt;&lt;P&gt;If the file is good, use the Add Data wizard to load it into Splunk and check that events are breaking where they should.&amp;nbsp; Adjust the settings in the wizard as necessary to get events to load completely.&amp;nbsp; Then save those settings in the props.conf file for the sourcetype.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 00:58:45 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-04-28T00:58:45Z</dc:date>
    <item>
      <title>How to configuring Splunk to not truncate scripted input running on the universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configuring-Splunk-to-not-truncate-scripted-input-running/m-p/595643#M104035</link>
      <description>&lt;P&gt;I've got a scripted input running on a universal forwarder that generates json output to the tune of 18,000+ lines.&amp;nbsp; However, when I query for its events in the Splunk search, it shows only 13 lines per event.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "apiVersion": "v1",
    "items": [
        {
            "apiVersion": "apps/v1",
            "kind": "Deployment",
            "metadata": {
                "annotations": {
                    "deployment.kubernetes.io/revision": "1",
                    "field.cattle.io/publicEndpoints": "myPublicEndpoint1",
                    "meta.helm.sh/release-name": "myrelease1",
                    "meta.helm.sh/release-namespace": "mynamespace1"
                },&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I've tried setting TRUNCATE to both 0 and 1000000 in props.conf for the scripted input's sourcetype ("scriptedinput1") on both the universal forwarder and the search instances and restarted the services, but the truncating remains the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[scriptedinput1]
KV_MODE=json
TRUNCATE=1000000&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I should also note that I'm not seeing "truncating" anywhere in my splunkd.log on the universal forwarder and search instances.&amp;nbsp; Any assistance with configuring Splunk to not truncate my scripted input running on the universal forwarder would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 21:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configuring-Splunk-to-not-truncate-scripted-input-running/m-p/595643#M104035</guid>
      <dc:creator>bsg273</dc:creator>
      <dc:date>2022-04-27T21:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to configuring Splunk to not truncate scripted input running on the universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configuring-Splunk-to-not-truncate-scripted-input-running/m-p/595680#M104044</link>
      <description>&lt;P&gt;Obviously, the problem is not with Splunk truncating events or the TRUNCATE setting would make a difference and you would see truncate messages in the log.&lt;/P&gt;&lt;P&gt;Verify the script is running correctly by saving its output to a file and examining the file.&lt;/P&gt;&lt;P&gt;If the file is good, use the Add Data wizard to load it into Splunk and check that events are breaking where they should.&amp;nbsp; Adjust the settings in the wizard as necessary to get events to load completely.&amp;nbsp; Then save those settings in the props.conf file for the sourcetype.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 00:58:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configuring-Splunk-to-not-truncate-scripted-input-running/m-p/595680#M104044</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-04-28T00:58:45Z</dc:date>
    </item>
  </channel>
</rss>

