<?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 Splunk Indexing .gz files as compressed/raw data and not the uncompressed version in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418000#M95551</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6638i264340897569221E/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Attached  is an example of the data, I have also extracted the data from the gz files and it was able to import the data fine that way. The stanza for the monitor is&lt;/P&gt;

&lt;P&gt;[monitor:///var/akamailogs/prod]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = Akamai&lt;BR /&gt;
index = akamaiweblog&lt;BR /&gt;
sourcetype = access_combined&lt;/P&gt;

&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 17:43:46 GMT</pubDate>
    <dc:creator>qhrtaylordresch</dc:creator>
    <dc:date>2019-02-28T17:43:46Z</dc:date>
    <item>
      <title>Splunk Indexing .gz files as compressed/raw data and not the uncompressed version</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418000#M95551</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6638i264340897569221E/image-size/large?v=v2&amp;amp;px=999" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Attached  is an example of the data, I have also extracted the data from the gz files and it was able to import the data fine that way. The stanza for the monitor is&lt;/P&gt;

&lt;P&gt;[monitor:///var/akamailogs/prod]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = Akamai&lt;BR /&gt;
index = akamaiweblog&lt;BR /&gt;
sourcetype = access_combined&lt;/P&gt;

&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 17:43:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418000#M95551</guid>
      <dc:creator>qhrtaylordresch</dc:creator>
      <dc:date>2019-02-28T17:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexing .gz files as compressed/raw data and not the uncompressed version</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418001#M95552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;During input time you have to specify also in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
invalid_cause = archive

[source::/var/akamailogs/prod]
unarchive_cmd = _auto
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;According to the Splunk Doc &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/Propsconf"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;invalid_cause = &amp;lt;string&amp;gt;
* Can only be set for a [&amp;lt;sourcetype&amp;gt;] stanza.
* If invalid_cause is set, the Tailing code (which handles uncompressed
  logfiles) will not read the data, but hand it off to other components or
  throw an error.
* Set &amp;lt;string&amp;gt; to "archive" to send the file to the archive processor
  (specified in unarchive_cmd).
* When set to "winevt", this causes the file to be handed off to the
  Event Log input processor.
* Set to any other string to throw an error in the splunkd.log if you are
  running Splunklogger in debug mode.
* This setting applies at input time, when data is first read by Splunk 
  software, such as on a forwarder that has configured inputs acquiring the 
  data.
* Defaults to empty.

unarchive_cmd = &amp;lt;string&amp;gt;
* Only called if invalid_cause is set to "archive".
* This field is only valid on [source::&amp;lt;source&amp;gt;] stanzas.
* &amp;lt;string&amp;gt; specifies the shell command to run to extract an archived source.
* Must be a shell command that takes input on stdin and produces output on
  stdout.
* Use _auto for Splunk software's automatic handling of archive files (tar, 
  tar.gz, tgz, tbz, tbz2, zip)
* This setting applies at input time, when data is first read by Splunk 
  software, such as on a forwarder that has configured inputs acquiring the 
  data.
* Defaults to empty.
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Feb 2019 18:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418001#M95552</guid>
      <dc:creator>n0str0m08</dc:creator>
      <dc:date>2019-02-28T18:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Indexing .gz files as compressed/raw data and not the uncompressed version</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418002#M95553</link>
      <description>&lt;P&gt;Ah forgot about that, thank you. &lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:12:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Indexing-gz-files-as-compressed-raw-data-and-not-the/m-p/418002#M95553</guid>
      <dc:creator>qhrtaylordresch</dc:creator>
      <dc:date>2019-03-01T15:12:21Z</dc:date>
    </item>
  </channel>
</rss>

