It's all in the question 🙂 The app is otherwise up and running quite happily, but allaccountids.csv did not get created and every input that uses it shows 'Search produced no results'. This is fine as long as I have only one account active, but soon I'll have more.
It seems to me that awsaccountmanager.py is supposed to create it, but doesn't. Anyone seen this problem before, and what can I do about it? Manually create with Lookup Editor, or some other way?
AWS app tries to fill AWS account ID every time when you are in configure page and the account ID is empty. You can try the following steps:
If no account ID and error has been found, you can try to add it manually. You follow steps as czhang posted.
Basically when you add an AWS account in Configure page of AWS App, the account id will be written into allaccountids.csv. Have you seen any error when adding AWS account?
A quick and dirty workaround is: go to lookup folder under app dictionary and edit allaccountids.csv manually.
The file format should be:
> name,account_id > [your AWS account friendly name],[12-digit AWS account ID]
> name,account_id > Calvin,000000000000
It would be great if you could go to Splunk/var/log/splunk/saasappaws.log to see if there is any error related to awsaccountmanager.py
Hope this helps! Thanks!