<?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: Persistent Queue not working for Heavy Forwarder on Splunk Enterprise 6.3.2 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279014#M53400</link>
    <description>&lt;P&gt;apparantly it takes some time for the data to roll into flat file as its still writing to memory for some reason&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 03:19:25 GMT</pubDate>
    <dc:creator>xrtan</dc:creator>
    <dc:date>2016-04-29T03:19:25Z</dc:date>
    <item>
      <title>Persistent Queue not working for Heavy Forwarder on Splunk Enterprise 6.3.2</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279013#M53399</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I am current trying to test persistent queue to see whether it works on heavy forwarder. However, it doesn't seem to be working.&lt;/P&gt;

&lt;P&gt;Here is my scenario:&lt;BR /&gt;
I have syslogs coming in from different devices into my heav yforwarder using both tcp and udp protocol. So what I did was put persistentQueueSize=100MB into my inputs.conf stanza, so right now it looks something like this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[udp://514]
index=main
sourcetype = syslog
connection_host = ip
disabled = 0
persistentQueueSize=100MB

[tcp://514]
index=main
sourcetype = syslog
connection_host = ip
disabled = 0
persistentQueueSize=100MB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I restart the server, I can see the flat file being created at these 2 places respectively&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME/var/run/splunk/tcpin/&lt;BR /&gt;&lt;BR /&gt;
$SPLUNK_HOME/var/run/splunk/udpin/&lt;/P&gt;

&lt;P&gt;So I went on to shut down my indexers for 5 minutes. After that, I turn it on back. However, during the 5 mins, I did not see any changes to the flat file and when I try to search for data on my search head, logs have be dropped during that 5 mins, so no caching was done.&lt;/P&gt;

&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279013#M53399</guid>
      <dc:creator>xrtan</dc:creator>
      <dc:date>2020-09-29T08:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Queue not working for Heavy Forwarder on Splunk Enterprise 6.3.2</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279014#M53400</link>
      <description>&lt;P&gt;apparantly it takes some time for the data to roll into flat file as its still writing to memory for some reason&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 03:19:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279014#M53400</guid>
      <dc:creator>xrtan</dc:creator>
      <dc:date>2016-04-29T03:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Queue not working for Heavy Forwarder on Splunk Enterprise 6.3.2</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279015#M53401</link>
      <description>&lt;P&gt;Without the "queueSize" being set to any value, "persistentQueueSize" will not work.&lt;/P&gt;

&lt;P&gt;Also be aware that the instance will first fill the memory-queue and if this is exhausted it will write into the persistent queue. So in order to save as much as possible to disk, set the "queueSize" to a minimum.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:18:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Persistent-Queue-not-working-for-Heavy-Forwarder-on-Splunk/m-p/279015#M53401</guid>
      <dc:creator>rschutt</dc:creator>
      <dc:date>2017-11-29T14:18:56Z</dc:date>
    </item>
  </channel>
</rss>

