<?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 Trouble indexing 'File Meta-Data' on Windows volume in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-indexing-File-Meta-Data-on-Windows-volume/m-p/568563#M100894</link>
    <description>&lt;P&gt;Hi&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1861"&gt;@LukeMurphey&lt;/a&gt; , I am hoping you can help with your File Meta-Data addon that I am hoping is just what I need.&lt;/P&gt;&lt;P&gt;I have been trying to get it working for a while now but it just didn't seem to do anything after setting up my Data Input.&lt;/P&gt;&lt;P&gt;I've done a bit more digging today in the 'file_meta_data_modular_input.log' log file and I am getting the following error reported:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-09-27 15:24:06,745 ERROR Execution failed&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 1095, in execute&lt;BR /&gt;self.do_run(in_stream, log_exception_and_continue=True)&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 976, in do_run&lt;BR /&gt;self.run(stanza, cleaned_params, input_config)&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 641, in run&lt;BR /&gt;file_filter=file_filter)&lt;BR /&gt;File "&lt;STRONG&gt;D:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 187, in get_files_data&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;file_path = file_path.encode("utf-8")&lt;/STRONG&gt;&lt;BR /&gt;AttributeError: 'bytes' object has no attribute 'encode'&lt;/P&gt;&lt;P&gt;As the error is caused in the bold line above in the .py file, I guess this may be something to do with my Splunk Enterprise (Free version) running on a Windows 10 machine, trying to index Windows volumes.&lt;/P&gt;&lt;P&gt;FYI in my Data Input, it doesn't matter if I have the "File or directory path" as "L:\" or "L:" or anything else (i.e. I want to index my L:\ volume), it just reports this error.&lt;/P&gt;&lt;P&gt;Sorry this is probably a noob question but any help would be appreciated. FYI I am using v1.4.5 of your add-on.&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 14:45:56 GMT</pubDate>
    <dc:creator>Highlander22</dc:creator>
    <dc:date>2021-09-27T14:45:56Z</dc:date>
    <item>
      <title>Trouble indexing 'File Meta-Data' on Windows volume</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Trouble-indexing-File-Meta-Data-on-Windows-volume/m-p/568563#M100894</link>
      <description>&lt;P&gt;Hi&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1861"&gt;@LukeMurphey&lt;/a&gt; , I am hoping you can help with your File Meta-Data addon that I am hoping is just what I need.&lt;/P&gt;&lt;P&gt;I have been trying to get it working for a while now but it just didn't seem to do anything after setting up my Data Input.&lt;/P&gt;&lt;P&gt;I've done a bit more digging today in the 'file_meta_data_modular_input.log' log file and I am getting the following error reported:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;2021-09-27 15:24:06,745 ERROR Execution failed&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 1095, in execute&lt;BR /&gt;self.do_run(in_stream, log_exception_and_continue=True)&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\modular_input.zip\modular_input\modular_input_base_class.py", line 976, in do_run&lt;BR /&gt;self.run(stanza, cleaned_params, input_config)&lt;BR /&gt;File "D:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 641, in run&lt;BR /&gt;file_filter=file_filter)&lt;BR /&gt;File "&lt;STRONG&gt;D:\Program Files\Splunk\etc\apps\file_meta_data\bin\file_meta_data.py", line 187, in get_files_data&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;file_path = file_path.encode("utf-8")&lt;/STRONG&gt;&lt;BR /&gt;AttributeError: 'bytes' object has no attribute 'encode'&lt;/P&gt;&lt;P&gt;As the error is caused in the bold line above in the .py file, I guess this may be something to do with my Splunk Enterprise (Free version) running on a Windows 10 machine, trying to index Windows volumes.&lt;/P&gt;&lt;P&gt;FYI in my Data Input, it doesn't matter if I have the "File or directory path" as "L:\" or "L:" or anything else (i.e. I want to index my L:\ volume), it just reports this error.&lt;/P&gt;&lt;P&gt;Sorry this is probably a noob question but any help would be appreciated. FYI I am using v1.4.5 of your add-on.&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 14:45:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Trouble-indexing-File-Meta-Data-on-Windows-volume/m-p/568563#M100894</guid>
      <dc:creator>Highlander22</dc:creator>
      <dc:date>2021-09-27T14:45:56Z</dc:date>
    </item>
  </channel>
</rss>

