i get no output in the shell; the script stay there without "output" nothing.
Of course the seme search works in splunk web.
What i'm missing?
Ok i answer to my self: simply it takes many minutes to start (about 3/4 minutes) but after that it starts, by the way i'd like to know why this big difference.
UPDATE WITH CODE
search = "search index=main sourcetype=access_combined method=GET | stats count by status"
DATA = 
result = service.get(
for result in ResultsReader(result.body):
if result is not None:
# DATA.append([result["status"], result["count"]])