<?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: Scripted input not complete in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24051#M3779</link>
    <description>&lt;P&gt;The number of characters before the &amp;lt;\/pre&amp;gt; tag are variable.  The stop location is not.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2012 15:02:28 GMT</pubDate>
    <dc:creator>crob6281</dc:creator>
    <dc:date>2012-08-17T15:02:28Z</dc:date>
    <item>
      <title>Scripted input not complete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24047#M3775</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I am having a problem getting Splunk to correctly index a scripted source.&lt;/STRONG&gt;  &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Here are the relevant configs:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
[script://./bin/elmah.sh]&lt;BR /&gt;
interval = 30&lt;BR /&gt;
sourcetype = elmahdetails&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = test&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[elmahdetails]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
TRUNCATE=999999&lt;BR /&gt;
LINE_BREAKER = &amp;lt;\/html&amp;gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I can see the script being triggered correctly:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;08-02-2012 09:47:55.809 -0400 INFO  ExecProcessor - Ran script: /opt/splunk/etc/apps/search/bin/elmah.sh, took 428.5 milliseconds to run, 7930 bytes read&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The result is that the following is indexed:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/NF5en.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;However, here is the real event:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://i.imgur.com/vsPaH.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;(The real text returned from the script is very long and is truncated above for ease.)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;It's cutting the event off just after &amp;lt;\/pre&amp;gt;.  What am I doing wrong?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;(Sorry for the multiple revisions - I couldn't get the HTML to display without being interpreted.  Took screenshots instead.)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;----FINAL EDIT----&lt;BR /&gt;
I ended up pursuing an alternate route to solve this issue.  Thus, this issue remains unresolved and I have no plans to spend additional time working on it.&lt;/STRONG&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24047#M3775</guid>
      <dc:creator>crob6281</dc:creator>
      <dc:date>2020-09-28T12:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted input not complete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24048#M3776</link>
      <description>&lt;P&gt;where are the screenshots then? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
You know you can put code in backticks or by highlighting and using the "101010" button on the form.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24048#M3776</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-08-02T14:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted input not complete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24049#M3777</link>
      <description>&lt;P&gt;I used the 101010 button and it still tried to link to splunk-base.splunk.com/elmah.axd and did other interpret-y things.  I also tried escaping. &lt;/P&gt;

&lt;P&gt;Screenshots are there now.  ..or, rather, should be.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2012 14:53:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24049#M3777</guid>
      <dc:creator>crob6281</dc:creator>
      <dc:date>2012-08-02T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted input not complete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24050#M3778</link>
      <description>&lt;P&gt;Hi Chad &lt;/P&gt;

&lt;P&gt;There is a limit on the length of a multiline event. &lt;BR /&gt;
Default is 256, after that the event is broken in multiple events. &lt;BR /&gt;
Please search on the events to confirm if this is the case. &lt;/P&gt;

&lt;P&gt;And if it is, you can setup the parameter MAX_EVENTS for your sourcetype in props.conf &lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt; &lt;BR /&gt;
and &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/Data/Indexmulti-lineevents"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/Data/Indexmulti-lineevents&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 04 Aug 2012 00:19:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24050#M3778</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-08-04T00:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted input not complete</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24051#M3779</link>
      <description>&lt;P&gt;The number of characters before the &amp;lt;\/pre&amp;gt; tag are variable.  The stop location is not.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:02:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Scripted-input-not-complete/m-p/24051#M3779</guid>
      <dc:creator>crob6281</dc:creator>
      <dc:date>2012-08-17T15:02:28Z</dc:date>
    </item>
  </channel>
</rss>

