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!

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Splunk Observability Cloud’s AI Assistant in Action Series: Identifying Unknown ...

Agentic AI powers the Splunk AI Assistant within the Splunk Observability Cloud interface to help you quickly ...