<?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 Script Error xml.etree.ElementTree.ParseError in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Script-Error-xml-etree-ElementTree-ParseError/m-p/753742#M4012</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We repeatedly receive this message when collecting information via the plugin:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2025-09-29 08:30:44,656 ERROR pid=1278370 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/beyondtrust_rs_integration/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events&lt;BR /&gt;self.collect_events(ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/beyondtrust_rs_reporting_api_session_events.py", line 72, in collect_events&lt;BR /&gt;input_module.collect_events(self, ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/input_module_beyondtrust_rs_reporting_api_session_events.py", line 56, in collect_events&lt;BR /&gt;session_tree = ET.fromstring(session_report)&lt;BR /&gt;File "/opt/splunk/lib/python3.9/xml/etree/ElementTree.py", line 1348, in XML&lt;BR /&gt;return parser.close()&lt;BR /&gt;xml.etree.ElementTree.ParseError: no element found: line 2061329, column 21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas on how to fix this issue?&lt;/P&gt;</description>
    <pubDate>Mon, 29 Sep 2025 08:46:51 GMT</pubDate>
    <dc:creator>PierrAlezOCD</dc:creator>
    <dc:date>2025-09-29T08:46:51Z</dc:date>
    <item>
      <title>Script Error xml.etree.ElementTree.ParseError</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Script-Error-xml-etree-ElementTree-ParseError/m-p/753742#M4012</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We repeatedly receive this message when collecting information via the plugin:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2025-09-29 08:30:44,656 ERROR pid=1278370 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/beyondtrust_rs_integration/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events&lt;BR /&gt;self.collect_events(ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/beyondtrust_rs_reporting_api_session_events.py", line 72, in collect_events&lt;BR /&gt;input_module.collect_events(self, ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/BeyondTrust-RS-Integration/bin/input_module_beyondtrust_rs_reporting_api_session_events.py", line 56, in collect_events&lt;BR /&gt;session_tree = ET.fromstring(session_report)&lt;BR /&gt;File "/opt/splunk/lib/python3.9/xml/etree/ElementTree.py", line 1348, in XML&lt;BR /&gt;return parser.close()&lt;BR /&gt;xml.etree.ElementTree.ParseError: no element found: line 2061329, column 21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas on how to fix this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 08:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Script-Error-xml-etree-ElementTree-ParseError/m-p/753742#M4012</guid>
      <dc:creator>PierrAlezOCD</dc:creator>
      <dc:date>2025-09-29T08:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Script Error xml.etree.ElementTree.ParseError</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Script-Error-xml-etree-ElementTree-ParseError/m-p/753867#M4013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/313321"&gt;@PierrAlezOCD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the data is being received from BeyondTrust by the API because its referencing a specific line that is failing the xml function which makes me wonder if something is incorrect or changed in the events received from BeyondTrust which the app cannot handle.&lt;/P&gt;&lt;P&gt;Are you using the latest version of the app from Splunkbase?&lt;/P&gt;&lt;P&gt;You may be able to speak to BeyondTrust directly through your support channels with them as they state in the docs that they do support the Splunk app (&lt;A href="https://docs.beyondtrust.com/rs/docs/splunk" target="_blank"&gt;https://docs.beyondtrust.com/rs/docs/splunk&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 09:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Script-Error-xml-etree-ElementTree-ParseError/m-p/753867#M4013</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-10-02T09:43:05Z</dc:date>
    </item>
  </channel>
</rss>

