All Apps and Add-ons

Splunk App for AWS: How to resolve error "Unexpected error "" from python handler: "HTTP 404 Not Found -- In handler 'roles'"?

abovebeyond
Communicator

Hi all,
Our Splunk App for AWS stopped working, the error message i receiving in splunkd log:

05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" ERRORFailed to get conf=aws_account_ext, stanza=AWS account, status=404, reason=Not Found, detail=<?xml version="1.0" encoding="UTF-8"?>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" <response>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"   <messages>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"     <msg type="ERROR">
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"  In handler 'conf-aws_account_ext': Could not find object id=AWS account</msg>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py"   </messages>
05-22-2017 11:15:10.128 +0000 ERROR ExecProcessor - message from "python /opt/splunk/etc/apps/Splunk_TA_aws/bin/aws_config.py" </response>
05-22-2017 11:15:11.974 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:11.975 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:12.261 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'
05-22-2017 11:15:12.261 +0000 WARN  AuthorizationManager - Unknown role 'winfra-admin'

and from Splunk Web:

"Unexpected error occurs. In handler 'splunk_app_aws_proxy_inputs': Unexpected error "" from python handler: "HTTP 404 Not Found -- In handler 'roles': Could not find object id=winfra-admin". See splunkd.log for more details."

what is the cause and how i can solve it?

Thanks!

0 Karma
1 Solution

abovebeyond
Communicator

added winfra-admin role to splunk solve it

View solution in original post

0 Karma

abovebeyond
Communicator

added winfra-admin role to splunk solve it

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...