Deployment Architecture

Splunk AWS integration Unable to Fetch instance Details

shwetas
Explorer

Hi Team,
We are using latest 7.1 Splunk Enterprise version of Splunk and integrated with our AWS enviroment. In the overview page i am seeing configuration details but other then that there is no information available .We also noticed in splunk_aws_inspector logs promptign with below error.Please help in fixing this issue.

2018-01-10 09:09:27,065 level=ERROR pid=4812 tid=MainThread logger=splunk_ta_aws.modinputs.inspector pos=util.py:call:163 | | message="Failed to execute function=run, error=Traceback (most recent call last):
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\3rdparty\splunktalib\common\util.py", line 160, in call
return func(*args, **kwargs)
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\splunk_ta_aws\modinputs\inspector_init.py", line 53, in run
_do_run()
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\splunk_ta_aws\modinputs\inspector__init
.py", line 30, in _do_run
aiconf.AWSInspectorConf, "aws_inspector", logger)
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\splunk_ta_aws\common\ta_aws_common.py", line 136, in get_configs
tasks = conf.get_tasks()
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\splunk_ta_aws\modinputs\inspector\aws_inspector_conf.py", line 60, in get_tasks
_cleanup_checkpoints(tasks, config)
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\splunk_ta_aws\modinputs\inspector\aws_inspector_conf.py", line 119, in _cleanup_checkpoints
internals = store.get_state("internals")
File "E:\Splunk\etc\apps\Splunk_TA_aws\bin\3rdparty\splunktalib\state_store.py", line 155, in get_state
state = json.load(jsonfile)
File "E:\Splunk\Python-2.7\Lib\json__init
.py", line 291, in load
**kw)
File "E:\Splunk\Python-2.7\Lib\json__init
_.py", line 339, in loads
return _default_decoder.decode(s)
File "E:\Splunk\Python-2.7\Lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "E:\Splunk\Python-2.7\Lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Regards,
Shweta

Tags (1)
0 Karma

esalesapns2
Path Finder

Me too. Maybe it's trying to find an index that's not defined on the Heavy Forwarder? "idx=_w(s,0).end())"

0 Karma

soumyasaha25
Contributor

i am facing the same issue

0 Karma

arlombar
Explorer

Was this ever solved? I am running into the same error now and I can't determine why this is happening. I have the same configuration setup in two lower environments without issue.

0 Karma

p_gurav
Champion

Hi shwetas,
Could you check in dashboads from the Health Check for more details?

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...