It looks like the map function is missing a decorator, causing the AttributeError provided in the question:
@Configuration()
def map(self, records):
You're doing the right thing with the class decorator, in specifying requires_preop=False , but be sure to return NotImplemented in the map function.
Although it uses a map function, looking at the example 'sum' reporting command may also help: https://github.com/splunk/splunk-sdk-python/blob/master/examples/searchcommands_app/package/bin/sum.py
... View more