<?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: problems running file_meta_data app in aix 7.x in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/problems-running-file-meta-data-app-in-aix-7-x/m-p/434835#M75887</link>
    <description>&lt;P&gt;I did some further research  by logging it under debug, I get the error message&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-07-2019 16:07:33.795 -0400 DEBUG ModularInputs - Found script "/opt/splunkforwarder/etc/apps/ntst_app_file_meta_data/bin/file_meta_data.py" to handle scheme "file_meta_data".
08-07-2019 16:07:33.908 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:  Traceback (most recent call last):
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:    File "/opt/splunkforwarder/etc/apps/ntst_app_file_meta_data/bin/file_meta_data.py", line 23, in &amp;lt;module&amp;gt;
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:      from modular_input import ModularInput, DurationField, BooleanField, IntegerField, WildcardField, Field, FieldValidationException
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:  zipimport.ZipImportError: can't decompress data; zlib not available
08-07-2019 16:07:33.909 -0400 ERROR ModularInputs - Introspecting scheme=file_meta_data: script running failed (exited with code 1).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the server has zlib, and we upgraded it - no difference in symptoms&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2019 18:13:53 GMT</pubDate>
    <dc:creator>plimpach</dc:creator>
    <dc:date>2019-08-09T18:13:53Z</dc:date>
    <item>
      <title>problems running file_meta_data app in aix 7.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/problems-running-file-meta-data-app-in-aix-7-x/m-p/434834#M75886</link>
      <description>&lt;P&gt;Hi, I am trying to run file_meta_Data app in aix, and keep getting an exit code of 1 from introspection&lt;BR /&gt;
It runs successfully for me in Linux, so I believe I have the basic config setup  working properly.&lt;BR /&gt;
Versions:&lt;BR /&gt;
splunk universal forwarder version 7.2.6&lt;BR /&gt;
AIX version 7.1&lt;BR /&gt;
python version 2.6.2&lt;BR /&gt;
file_meta_data app version 1.4.2&lt;/P&gt;

&lt;P&gt;inputs.conf  config sample &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[file_meta_data://blah837P]
file_path = /npc/clients/blah837P/
host=&amp;lt;fqdn&amp;gt;
interval = 2m
recurse = 1
only_if_changed = 1
include_file_hash = 0
depth_limit = 10000
# file_filter = 999*
index = app_custom
sourcetype = db:meta:files

[file_meta_data://ntst277CA]
file_path = /npc/clients/blah/277CA/
host=&amp;lt;fqdn&amp;gt;
interval = 2m
recurse = 1
only_if_changed = 1
include_file_hash = 0
depth_limit = 10000
# file_filter = 999*
index = app_custom
sourcetype = db:meta:files
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;error message from splunkd.log:&lt;BR /&gt;
08-07-2019 11:08:32.784 -0400 ERROR ModularInputs - Introspecting scheme=file_meta_data: script running failed (exited with code 1).&lt;BR /&gt;
08-07-2019 11:08:32.784 -0400 ERROR ModularInputs - Unable to initialize modular input "file_meta_data" defined inside the app "ntst_app_file_meta_data": Introspecting scheme=file_meta_data: script running failed (exited with code 1).&lt;/P&gt;

&lt;P&gt;doing  a search for  index=_internal ExecProcessor "file_meta_data"  sourcetype=splunkd   yields no results for this host&lt;/P&gt;

&lt;P&gt;doing  a search for index=_internal sourcetype=file_meta_data_modular_input  also yields no results for this host &lt;/P&gt;

&lt;P&gt;it is acting like it is unable to run the python script.&lt;BR /&gt;
Any thoughts on how to fix or troubleshoot?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/problems-running-file-meta-data-app-in-aix-7-x/m-p/434834#M75886</guid>
      <dc:creator>plimpach</dc:creator>
      <dc:date>2020-09-30T01:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: problems running file_meta_data app in aix 7.x</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/problems-running-file-meta-data-app-in-aix-7-x/m-p/434835#M75887</link>
      <description>&lt;P&gt;I did some further research  by logging it under debug, I get the error message&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-07-2019 16:07:33.795 -0400 DEBUG ModularInputs - Found script "/opt/splunkforwarder/etc/apps/ntst_app_file_meta_data/bin/file_meta_data.py" to handle scheme "file_meta_data".
08-07-2019 16:07:33.908 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:  Traceback (most recent call last):
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:    File "/opt/splunkforwarder/etc/apps/ntst_app_file_meta_data/bin/file_meta_data.py", line 23, in &amp;lt;module&amp;gt;
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:      from modular_input import ModularInput, DurationField, BooleanField, IntegerField, WildcardField, Field, FieldValidationException
08-07-2019 16:07:33.909 -0400 DEBUG ModularInputs - &amp;lt;stderr&amp;gt; Introspecting scheme=file_meta_data:  zipimport.ZipImportError: can't decompress data; zlib not available
08-07-2019 16:07:33.909 -0400 ERROR ModularInputs - Introspecting scheme=file_meta_data: script running failed (exited with code 1).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;the server has zlib, and we upgraded it - no difference in symptoms&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 18:13:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/problems-running-file-meta-data-app-in-aix-7-x/m-p/434835#M75887</guid>
      <dc:creator>plimpach</dc:creator>
      <dc:date>2019-08-09T18:13:53Z</dc:date>
    </item>
  </channel>
</rss>

