Created
July 21, 2015 01:44
-
-
Save wkalt/39e7e263422008f3a237 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time curl -X GET http://localhost:8080/pdb/query/v4/aggregate-event-counts --data-urlencode 'distinct_resources=true' --data-urlencode 'distinct_start_time=2015-07-14T15:55:30Z' --data-urlencode 'distinct_end_time=2015-07-15T15:55:30Z' --data-urlencode 'summarize_by=certname,resource,containing_class' -d 'query=["and", ["not",["=","containing_class",null]],["<","report_receive_time","2015-07-15T15:55:30Z"]]' | |
[ { | |
"summarize_by" : "certname", | |
"successes" : 5011, | |
"failures" : 4, | |
"noops" : 0, | |
"skips" : 3, | |
"total" : 5014 | |
}, { | |
"summarize_by" : "resource", | |
"successes" : 72871, | |
"failures" : 94, | |
"noops" : 0, | |
"skips" : 1, | |
"total" : 72883 | |
}, { | |
"summarize_by" : "containing_class", | |
"successes" : 3, | |
"failures" : 2, | |
"noops" : 0, | |
"skips" : 1, | |
"total" : 4 | |
} ] | |
real 0m14.214s | |
user 0m0.000s | |
sys 0m0.000s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment