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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

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

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...