Get Events Facet Associated with a Process (v2)
POST {{cb_url}}/api/investigate/v2/orgs/{{cb_org_key}}/events/{{cb_process_guid}}/_search
Get facets for the events associated with the specified process. A facet provides statistics indicating the relative weighting of values for the specified terms.
Note: This is an asynchronous request, you must resubmit the request until processed_segments
is equal to total_segments
in order to receive the full results
RBAC PERMISSIONS REQUIRED
Permission (.notation name) | Operation(s) |
---|---|
org.search.events | READ |
Request Body
{"criteria"=>"<object>", "exclusions"=>"<object>", "query"=>"<string>", "ranges"=>[{"bucket_size"=>"<object>", "end"=>"<object>", "field"=>"<string>", "start"=>"<object>"}], "terms"=>{"fields"=>["<string>"], "rows"=>"<long>"}, "time_range"=>{"end"=>"<string>", "start"=>"<string>", "window"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |