<?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: Indexing all text log files in a directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551029#M91489</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232611"&gt;@ankit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you already have a Forwarder on the system where files are stored you can input them there, in this way you optimize the process using the compressing features of Splunk and leave Splunk work for you.&lt;/P&gt;&lt;P&gt;As you can think it will tale a long time!&lt;/P&gt;&lt;P&gt;If you haven't a Forwarder on that system, I hint to compress your files and copy rhem on a folder of the indexer, then uncompress and index as you said.&lt;/P&gt;&lt;P&gt;Probably the second way is the quicker, but the first is easier.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 06:08:59 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-05-10T06:08:59Z</dc:date>
    <item>
      <title>Indexing all text log files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551011#M91487</link>
      <description>&lt;P&gt;I have a directory with about 750 log files. The files are all text files and the total size of this directory is 117 GB. I need to index the files once (not continuously).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Would the best option to index all the files in the directory be to copy the files to my Splunk instance and then use the directory input option from Splunk Web i.e.&amp;nbsp;&lt;STRONG&gt;Settings&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data Inputs &amp;gt;&amp;nbsp;Files &amp;amp; Directories ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Any other recommended options ?&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 19:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551011#M91487</guid>
      <dc:creator>ankit</dc:creator>
      <dc:date>2021-05-09T19:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing all text log files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551028#M91488</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232611"&gt;@ankit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can collect all the logs based on your directory.&lt;/P&gt;&lt;P&gt;you need to go&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Settings&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data Inputs &amp;gt;&amp;nbsp;Files &amp;amp; Directories&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;click on&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aasabatini_0-1620626236646.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14095iB497EDB5911E4A14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aasabatini_0-1620626236646.png" alt="aasabatini_0-1620626236646.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;add your path on the form and select index once&lt;/P&gt;&lt;P&gt;Example path: /var/log&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aasabatini_1-1620626588468.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/14096i4D412A89641EF0C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aasabatini_1-1620626588468.png" alt="aasabatini_1-1620626588468.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Considerations&lt;/P&gt;&lt;P&gt;You can collect more than 100 Gb if you have a&amp;nbsp; properly license.&lt;/P&gt;&lt;P&gt;In another case if you&amp;nbsp;violates the license several time, splunk will be blocked.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 06:07:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551028#M91488</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-05-10T06:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing all text log files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551029#M91489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232611"&gt;@ankit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you already have a Forwarder on the system where files are stored you can input them there, in this way you optimize the process using the compressing features of Splunk and leave Splunk work for you.&lt;/P&gt;&lt;P&gt;As you can think it will tale a long time!&lt;/P&gt;&lt;P&gt;If you haven't a Forwarder on that system, I hint to compress your files and copy rhem on a folder of the indexer, then uncompress and index as you said.&lt;/P&gt;&lt;P&gt;Probably the second way is the quicker, but the first is easier.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 06:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551029#M91489</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-10T06:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing all text log files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551093#M91500</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222210"&gt;@aasabatini&lt;/a&gt;&amp;nbsp;. I will be copying the compressed directory to the server, uncompress them and selecting the Directory input method from Splunk Web.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 12:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551093#M91500</guid>
      <dc:creator>ankit</dc:creator>
      <dc:date>2021-05-10T12:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Indexing all text log files in a directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551249#M91511</link>
      <description>&lt;P&gt;I went ahead and tried a different approach. I had each of the 749 files compressed as log.gz files beforehand. So just copied those compressed files to a directory on my Splunk instance and added a directory input. Worked like a charm !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 14:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Indexing-all-text-log-files-in-a-directory/m-p/551249#M91511</guid>
      <dc:creator>ankit</dc:creator>
      <dc:date>2021-05-11T14:50:54Z</dc:date>
    </item>
  </channel>
</rss>

