Getting Data In

get error when retrieve log from cortex xdr

Priyavit
New Member

 

below is error, how to fix this?

2024-08-05 21:46:52,757 ERROR pid=2311415 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events. Traceback (most recent call last): File "/opt/splunk/etc/apps/TA-palo_alto_cortex_xdr_alert_retriever/bin/ta_palo_alto_cortex_xdr_alert_retriever/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events self.collect_events(ew) File "/opt/splunk/etc/apps/TA-palo_alto_cortex_xdr_alert_retriever/bin/cortex_xdr_alerts.py", line 64, in collect_events input_module.collect_events(self, ew) File "/opt/splunk/etc/apps/TA-palo_alto_cortex_xdr_alert_retriever/bin/input_module_cortex_xdr_alerts.py", line 153, in collect_events left_to_return = total_endpoints - result_count UnboundLocalError: local variable 'total_endpoints' referenced before assignment

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Cloud Platform | Customer Change Announcement: Email Notification Will Be Available ...

The Notification Team is migrating our email service provider since currently there’s no support ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...