All Apps and Add-ons

How do we resolve this REST API Modular Input is not working occure endpoiont.replace() error?

hannah77777
Loves-to-Learn

01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" Exception in thread Thread-1:
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" Traceback (most recent call last):
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/lib/python3.7/threading.py", line 926, in _bootstrap_inner
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" self.run()
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/lib/python3.7/threading.py", line 870, in run
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" self._target(*self._args, **self._kwargs)
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" File "/opt/splunk/etc/apps/rest_ta/bin/rest.py", line 461, in do_run
01-25-2022 13:55:43.694 +0800 ERROR ExecProcessor [128178 ExecProcessorSchedulerThread] - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/rest_ta/bin/rest.py" endpoint_list[i] = endpoint.replace(replace_key,c['clear_password'])

Labels (1)
0 Karma

brijmohan
New Member

I am facing the similar errors, was that resolved for you?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Reuse: Word-play

This puzzle series (first published here) is based on analysing words.Some of the statements in your puzzle ...

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...