<?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 Reading AWS s3 gz files without extension in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644477#M109708</link>
    <description>&lt;P class=""&gt;I am having difficulties to get Splunk to ingest gzipped logs files from an S3 bucket, the files itself do not have extensions and Splunk is reading them as binaries.&lt;/P&gt;
&lt;P class=""&gt;I tried archive_cmd to auto, gunzip -c, gzip -d in props.conf with no luck&lt;/P&gt;
&lt;P class=""&gt;[source::/xxx/*]&lt;/P&gt;
&lt;P class=""&gt;unarchive_cmd = gunzip -c&lt;/P&gt;
&lt;P class=""&gt;NO_BINARY_CHECK = true&lt;/P&gt;
&lt;P class=""&gt;gunzip -c works in shell, gzip -d doesn't without gz suffix&lt;/P&gt;
&lt;P class=""&gt;*using AWS addon&lt;/P&gt;
&lt;P class=""&gt;due to the nature of the environment, the files can't be renamed. Anyone experienced this before?&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 14:24:55 GMT</pubDate>
    <dc:creator>prash</dc:creator>
    <dc:date>2023-05-24T14:24:55Z</dc:date>
    <item>
      <title>Reading AWS s3 gz files without extension in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644477#M109708</link>
      <description>&lt;P class=""&gt;I am having difficulties to get Splunk to ingest gzipped logs files from an S3 bucket, the files itself do not have extensions and Splunk is reading them as binaries.&lt;/P&gt;
&lt;P class=""&gt;I tried archive_cmd to auto, gunzip -c, gzip -d in props.conf with no luck&lt;/P&gt;
&lt;P class=""&gt;[source::/xxx/*]&lt;/P&gt;
&lt;P class=""&gt;unarchive_cmd = gunzip -c&lt;/P&gt;
&lt;P class=""&gt;NO_BINARY_CHECK = true&lt;/P&gt;
&lt;P class=""&gt;gunzip -c works in shell, gzip -d doesn't without gz suffix&lt;/P&gt;
&lt;P class=""&gt;*using AWS addon&lt;/P&gt;
&lt;P class=""&gt;due to the nature of the environment, the files can't be renamed. Anyone experienced this before?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:24:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644477#M109708</guid>
      <dc:creator>prash</dc:creator>
      <dc:date>2023-05-24T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading AWS s3 gz files without extension in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644500#M109712</link>
      <description>&lt;P&gt;Have you tried adding &lt;FONT face="courier new,courier"&gt;invalid_cause=archive&lt;/FONT&gt; to the stanza?&amp;nbsp; The docs have conflicting information about it, but it's worth a try.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 15:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644500#M109712</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-24T15:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reading AWS s3 gz files without extension in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644562#M109714</link>
      <description>&lt;P&gt;I did try that, made no difference. As per docs, the &lt;FONT face="courier new,courier" size="4"&gt;unarchive_cmd &lt;/FONT&gt;is only invoked when &lt;FONT face="courier new,courier"&gt;invalid_cause&lt;/FONT&gt; is specified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 23:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644562#M109714</guid>
      <dc:creator>prash</dc:creator>
      <dc:date>2023-05-24T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reading AWS s3 gz files without extension in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644565#M109715</link>
      <description>&lt;P&gt;I noticed the&amp;nbsp;contradiction in the docs.&amp;nbsp; I suggest contacting Splunk Support.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 00:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Reading-AWS-s3-gz-files-without-extension-in-Splunk/m-p/644565#M109715</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-05-25T00:05:12Z</dc:date>
    </item>
  </channel>
</rss>

