<?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 Unpacking and Uploading certain files from an archive automatically/scripted in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553705#M91795</link>
    <description>&lt;P&gt;What is the best way to get data into Splunk from a zip file (files in different subfolders of the zip) in an automated way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to upload certain txt.files from an archive(debug bundle) into my Splunk deployment. The archive gets downloaded on clients that have access to the splunk deployment, and i need a way to automate this process, instead of unpacking the whole archive and then selecting the files i need one by one and uploading them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 12:01:03 GMT</pubDate>
    <dc:creator>ValentinM</dc:creator>
    <dc:date>2021-05-31T12:01:03Z</dc:date>
    <item>
      <title>Unpacking and Uploading certain files from an archive automatically/scripted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553705#M91795</link>
      <description>&lt;P&gt;What is the best way to get data into Splunk from a zip file (files in different subfolders of the zip) in an automated way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to upload certain txt.files from an archive(debug bundle) into my Splunk deployment. The archive gets downloaded on clients that have access to the splunk deployment, and i need a way to automate this process, instead of unpacking the whole archive and then selecting the files i need one by one and uploading them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 12:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553705#M91795</guid>
      <dc:creator>ValentinM</dc:creator>
      <dc:date>2021-05-31T12:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unpacking and Uploading certain files from an archive automatically/scripted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553757#M91806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234434"&gt;@ValentinM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk does the unpacking automatically, configure the monitor pointing to your .zip file in inputs.conf on the host where files exist. You should have UF/HF or standalone Splunk on the host.&lt;/P&gt;&lt;P&gt;This link helps to config sub-directories -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/Data/Monitorfilesanddirectorieswithinputs.conf#Multiple_.2Anix_directories_with_a_wildcard" target="_blank"&gt;Monitor files and directories with inputs.conf - Splunk Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if it helps!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 02:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553757#M91806</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-06-01T02:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unpacking and Uploading certain files from an archive automatically/scripted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553813#M91810</link>
      <description>&lt;P&gt;The thing is the .zip file contains multiple hundred files of which i only need about 10 to analyse them in my Splunk Deployment, also sometimes its necessary to download multiple of these .zip files (each zip is a debug bundle of a client pc), and there are multiple users who might download +upload these to Splunk, so if possible i dont want to install a Forwarder on each host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The overall process should be somewhat like this, a authorirized Splunk User downloads the .zip files he wants to analyse manually, so lets say now he has 4 .zip files on his local machine. Now i need a way in Splunk to unpack the files that i want (about 10 out of the 300+ in the .zip), add 1-2 custom fields at index time to them, and upload them in an automated way.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 08:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Unpacking-and-Uploading-certain-files-from-an-archive/m-p/553813#M91810</guid>
      <dc:creator>ValentinM</dc:creator>
      <dc:date>2021-06-01T08:57:32Z</dc:date>
    </item>
  </channel>
</rss>

