<?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 set the log size limit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426666#M173447</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I think that depends on what you want to log. Why do you want to set the size?&lt;/P&gt;

&lt;P&gt;Did you try batch:// input?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 07:46:19 GMT</pubDate>
    <dc:creator>dkeck</dc:creator>
    <dc:date>2019-01-24T07:46:19Z</dc:date>
    <item>
      <title>how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426663#M173444</link>
      <description>&lt;P&gt;how to set the log size limit? how to make automatic deletion for the log collected&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 04:00:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426663#M173444</guid>
      <dc:creator>johnsmithcy</dc:creator>
      <dc:date>2019-01-24T04:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426664#M173445</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
In this log have a look at batch inputs. A batch input will delete the file you want to read afterwards.&lt;/P&gt;

&lt;P&gt;What do you mean by log size? Are ww talking boit a splunk log like splunkd.log? Or are you referring to a log you want to monitor?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    [batch://&amp;lt;path&amp;gt;] 
    move_policy = sinkhole 
    &amp;lt;attrbute1&amp;gt; = &amp;lt;val1&amp;gt; 
    &amp;lt;attrbute2&amp;gt; = &amp;lt;val2&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/7.1.3/Data/Monitorfilesanddirectorieswithinputs.conf"&gt;https://docs.splunk.com/Documentation/SplunkCloud/7.1.3/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 05:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426664#M173445</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-24T05:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426665#M173446</link>
      <description>&lt;P&gt;referring to the log I want to monitor&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 06:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426665#M173446</guid>
      <dc:creator>johnsmithcy</dc:creator>
      <dc:date>2019-01-24T06:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426666#M173447</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I think that depends on what you want to log. Why do you want to set the size?&lt;/P&gt;

&lt;P&gt;Did you try batch:// input?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 07:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426666#M173447</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-24T07:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426667#M173448</link>
      <description>&lt;P&gt;where is batch://input&lt;BR /&gt;
I afraid the log size would be too big&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 07:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426667#M173448</guid>
      <dc:creator>johnsmithcy</dc:creator>
      <dc:date>2019-01-24T07:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426668#M173449</link>
      <description>&lt;P&gt;HI, splunk can handle logs with big size too. Depends more on your queue size and your network, how fast it will ingest the data.&lt;/P&gt;

&lt;P&gt;You are monitoring with a universal forwarder?&lt;/P&gt;

&lt;P&gt;You can set the batch input your self, in any inputs.conf  in $SPLUNK_HOME/splunk/etc/apps&lt;/P&gt;

&lt;P&gt;just create a new app with a local folder and within the local folder create an inputs.conf.&lt;/P&gt;

&lt;P&gt;Then paste the code I gave you above and replace &lt;CODE&gt;://path&lt;/CODE&gt; with your file path. Then restart splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 07:59:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426668#M173449</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-24T07:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426669#M173450</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;well it is possible, you can configure index size limit as the logs are stored in indexes. &lt;BR /&gt;
have a look at this doc:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/Configureindexstoragesize"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.3/Indexer/Configureindexstoragesize&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;let me know if it helps!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 08:33:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426669#M173450</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2019-01-24T08:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426670#M173451</link>
      <description>&lt;P&gt;Was this helpfull?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2019 10:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426670#M173451</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-27T10:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to set the log size limit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426671#M173452</link>
      <description>&lt;P&gt;You can set the maximum event size with the &lt;CODE&gt;TRUNCATE&lt;/CODE&gt; setting.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jan 2019 14:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-set-the-log-size-limit/m-p/426671#M173452</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-27T14:37:10Z</dc:date>
    </item>
  </channel>
</rss>

