def applications(self):
        query = "search index=%s | stats count by application" % (self.index)
        job = self.splunk.jobs.create(query, exec_mode="blocking")
        return counts(job, "application")
dataset/ETHPy150Open splunk/splunk-sdk-python/examples/analytics/output.py/AnalyticsRetriever.applications/original