Created
July 21, 2015 01:15
-
-
Save wkalt/9f9f4b2c9cfb12dde795 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-14T14:55:30Z' --data-urlencode 'distinct_end_time=2015-07-15T15:55:30Z' --data-urlencode 'summarize_by=certname,resource,containing_class' -d 'query=["not", ["=","containing_class",null]]' | |
[ { | |
"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.525s | |
user 0m0.000s | |
sys 0m0.003s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment