<?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: Index lag increasing for REST API event input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179193#M35924</link>
    <description>&lt;P&gt;The receivers/simple endpoint does not scale very well.It opens and closes a socket for every event you send.&lt;/P&gt;

&lt;P&gt;Use the receivers/stream endpoint or as GK mentions , send your data directly to a TCP Input in Splunk.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Dec 2013 11:24:14 GMT</pubDate>
    <dc:creator>Damien_Dallimor</dc:creator>
    <dc:date>2013-12-16T11:24:14Z</dc:date>
    <item>
      <title>Index lag increasing for REST API event input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179191#M35922</link>
      <description>&lt;P&gt;I have an event generator that simulates five servers running uberAgent. Data is sent to Splunk via the REST API. When I start the event generator, everything is fine. But while it keeps running, the index lag keeps increasing. In other words: &lt;STRONG&gt;it takes longer and longer for the events to show up in a search&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;I am seeing the REST API calls as they are made in splunkd_access.log. Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;192.168.8.1 - uainput [15/Dec/2013:18:05:38.139 +0100] "POST /services/receivers/simple?source=uberAgent&amp;amp;sourcetype=uberAgent%3aApplication%3aApplicationUsage&amp;amp;host=RDS-1&amp;amp;index=uberagent HTTP/1.1" 200 215 - - - 0ms
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In metrics.log I can see that the max_age is increasing. It starts out slow and keeps getting bigger. Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-15-2013 18:05:22.428 +0100 INFO  Metrics - group=per_sourcetype_thruput, series="uberagent:application:applicationusage", kbps=0.402483, eps=9.450443, kb=12.478516, ev=293, avg_age=921.771331, max_age=938
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have no errors in splunkd.log. What is happening here? Is there some kind of quota that limits the number of events to be processed?&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Update:&lt;/STRONG&gt; This issue is not fixed in Splunk 6.0.1.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2013 17:20:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179191#M35922</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2013-12-15T17:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Index lag increasing for REST API event input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179192#M35923</link>
      <description>&lt;P&gt;Possible. The REST API is rarely used for data input, and so has not been well-tested by years of field use over thousands of installations like the network, file, or program inputs. You might be better off sending data to a specified TCP port instead.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2013 22:58:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179192#M35923</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-12-15T22:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Index lag increasing for REST API event input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179193#M35924</link>
      <description>&lt;P&gt;The receivers/simple endpoint does not scale very well.It opens and closes a socket for every event you send.&lt;/P&gt;

&lt;P&gt;Use the receivers/stream endpoint or as GK mentions , send your data directly to a TCP Input in Splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2013 11:24:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-lag-increasing-for-REST-API-event-input/m-p/179193#M35924</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2013-12-16T11:24:14Z</dc:date>
    </item>
  </channel>
</rss>

