<?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 Support for logs compressed with xz? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84778#M97170</link>
    <description>&lt;P&gt;The version of SUSE Linux I'm using has been compressing my logs with xz (by default) rather than gzip or bzip2.  As such, when I added the log directory into splunk, there's a large gap where those files couldn't be parsed.&lt;/P&gt;

&lt;P&gt;I can go through and unxz all of the logs and use bzip2 to compress them, and change logrotate to use bzip2 instead of xz, but I do like that xz achieves higher compression ratios than bzip2.  I'm assuming that the decompression algorithms supported by splunk are hard-coded, but I thought I'd ask if it's something I can modify on my end to add support for that file type.&lt;/P&gt;

&lt;P&gt;If not, is this something that is being considered for a future release?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2012 06:58:35 GMT</pubDate>
    <dc:creator>hatchmt</dc:creator>
    <dc:date>2012-06-27T06:58:35Z</dc:date>
    <item>
      <title>Support for logs compressed with xz?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84778#M97170</link>
      <description>&lt;P&gt;The version of SUSE Linux I'm using has been compressing my logs with xz (by default) rather than gzip or bzip2.  As such, when I added the log directory into splunk, there's a large gap where those files couldn't be parsed.&lt;/P&gt;

&lt;P&gt;I can go through and unxz all of the logs and use bzip2 to compress them, and change logrotate to use bzip2 instead of xz, but I do like that xz achieves higher compression ratios than bzip2.  I'm assuming that the decompression algorithms supported by splunk are hard-coded, but I thought I'd ask if it's something I can modify on my end to add support for that file type.&lt;/P&gt;

&lt;P&gt;If not, is this something that is being considered for a future release?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 06:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84778#M97170</guid>
      <dc:creator>hatchmt</dc:creator>
      <dc:date>2012-06-27T06:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Support for logs compressed with xz?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84779#M97171</link>
      <description>&lt;P&gt;You can enable any sort of decompression setting the &lt;STRONG&gt;unarchive_cmd&lt;/STRONG&gt; configuration in &lt;STRONG&gt;props.conf&lt;/STRONG&gt; for your input. If you want to pick xz files by default, something like this should work:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;[source::.../*.xz]&lt;BR /&gt;
unarchive_cmd = /usr/bin/xz -cd -&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;If you already have a specific stanza in &lt;STRONG&gt;props.conf&lt;/STRONG&gt; for that particular source, you'll need to tweak it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 15:10:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84779#M97171</guid>
      <dc:creator>ichaer_splunk</dc:creator>
      <dc:date>2016-08-02T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Support for logs compressed with xz?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84780#M97172</link>
      <description>&lt;P&gt;Hatchmt, were you able to read xz files?  If so, what steps did you follow?  Thanks! &lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 16:38:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Support-for-logs-compressed-with-xz/m-p/84780#M97172</guid>
      <dc:creator>juanlazarosanch</dc:creator>
      <dc:date>2018-08-22T16:38:49Z</dc:date>
    </item>
  </channel>
</rss>

