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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...