<?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: How to monitor and index .bz2 files in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/573895#M101498</link>
    <description>&lt;P&gt;Never used it myself but.&lt;/P&gt;&lt;PRE&gt;unarchive_cmd = &amp;lt;string&amp;gt;
[...]
* This field is only valid on [source::&amp;lt;source&amp;gt;] stanzas.&lt;/PRE&gt;&lt;P&gt;So setting it on sourcetype should not work.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Nov 2021 08:34:27 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2021-11-06T08:34:27Z</dc:date>
    <item>
      <title>How to monitor and index .bz2 files in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/573873#M101496</link>
      <description>&lt;P&gt;Hi, All.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to index compressed files in .bz2 format using Universal Forwarder installed on a Windows server?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In UF:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inputs.conf &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[monitor://E:\LogServer\Logs\*.bz2]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;sourcetype = XmlWinEventLog&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;disabled=0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;index = main&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[source::...E:\\LogServer\\Logs\\*.bz2]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;sourcetype = XmlWinEventLog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[XmlWinEventLog]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;invalid_cause = archive&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;unarchive_cmd = _auto&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;According to the most recent docs Splunk does index compressed files:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.1/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.1/Admin/Propsconf&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But even following these instructions, the logs are still not indexed and I was also unable to check the splunkd.log logs for any error that indicates a problem.&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James \°/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 22:46:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/573873#M101496</guid>
      <dc:creator>James_ACN</dc:creator>
      <dc:date>2021-11-05T22:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor and index .bz2 files in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/573895#M101498</link>
      <description>&lt;P&gt;Never used it myself but.&lt;/P&gt;&lt;PRE&gt;unarchive_cmd = &amp;lt;string&amp;gt;
[...]
* This field is only valid on [source::&amp;lt;source&amp;gt;] stanzas.&lt;/PRE&gt;&lt;P&gt;So setting it on sourcetype should not work.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Nov 2021 08:34:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/573895#M101498</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2021-11-06T08:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor and index .bz2 files in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/574193#M101519</link>
      <description>&lt;P&gt;Hi All!&lt;/P&gt;&lt;P&gt;I still haven't been able to solve this problem.&lt;/P&gt;&lt;P&gt;Does anyone have any outline suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;James \°/&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 12:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-and-index-bz2-files-in-Splunk/m-p/574193#M101519</guid>
      <dc:creator>James_ACN</dc:creator>
      <dc:date>2021-11-09T12:55:59Z</dc:date>
    </item>
  </channel>
</rss>

