<?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 do you configure the inputs.conf with file size? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384290#M69120</link>
    <description>&lt;P&gt;fschange has been deprecated for about half of Splunk's existence, and is unrelated to monitor inputs asked for.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Nov 2018 00:28:19 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2018-11-14T00:28:19Z</dc:date>
    <item>
      <title>How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384284#M69114</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;Is there any way that we can write an inputs.conf stanza with file size. I wanted to archive the files which have a size of 10 MB or more.&lt;/P&gt;

&lt;P&gt;Ex:&lt;BR /&gt;
[monitor://filePath\filename.json]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = STname&lt;BR /&gt;
archivefilesize  &amp;gt;= 10Mb  (somthing like this or any other way to whitelist or blacklist the files with file size)&lt;/P&gt;

&lt;P&gt;Thank You All!!!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 19:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384284#M69114</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-11-13T19:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384285#M69115</link>
      <description>&lt;P&gt;-- I wanted to archive the files ...&lt;/P&gt;

&lt;P&gt;What would you expect Splunk to do with these large files?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 20:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384285#M69115</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-11-13T20:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384286#M69116</link>
      <description>&lt;P&gt;One challenge I would see is, Splunk would typically read a file in real-time.  Until the file hit the 10MB point, Splunk would have now way of knowing if it would meet that mark.  &lt;/P&gt;

&lt;P&gt;You would most likely have to write a script, that looks for files in a directory, that are 10MB or larger. The script could then copy the file to another directory that Splunk was monitoring.  You would also have to wait until the file is complete for this to work.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 20:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384286#M69116</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2018-11-13T20:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384287#M69117</link>
      <description>&lt;P&gt;Correction it is 10KB file, But still do we have any option like that indexing files with specific size.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 20:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384287#M69117</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2018-11-13T20:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384288#M69118</link>
      <description>&lt;P&gt;inputs.conf has no setting to discriminate based on file size.&lt;/P&gt;

&lt;P&gt;Maybe there's a different way to achieve your underlying goals, specify them to find out.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 22:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384288#M69118</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-11-13T22:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384289#M69119</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sendEventMaxSize = &amp;lt;integer&amp;gt;
* The maximum size, in bytes, that an fschange event can be for the input to
  send the full event to be indexed. 
* Limits the size of event data that the fschange input sends.
* This limits the size of indexed file data.
* Default: -1 (unlimited).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;With this setting you can set the event size in inputs.conf&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 23:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384289#M69119</guid>
      <dc:creator>pruthvikrishnap</dc:creator>
      <dc:date>2018-11-13T23:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure the inputs.conf with file size?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384290#M69120</link>
      <description>&lt;P&gt;fschange has been deprecated for about half of Splunk's existence, and is unrelated to monitor inputs asked for.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 00:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-configure-the-inputs-conf-with-file-size/m-p/384290#M69120</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-11-14T00:28:19Z</dc:date>
    </item>
  </channel>
</rss>

