Type operation log-histogram

Must be executed asynchronously

Query CloudWatch to get a histogram of log record counts over time

Applies to: AuditEvent

Requires the CanAudit user permission.

Requires the operation URL (http://rosetta.careevolution.com/FHIR/OperationDefinition/AuditEvent-log-histogram) as a scope, or a SMART scope granting read access to the resource type the operation is executed against.

In parameters

Name Cardinality Type Documentation
end 1..1 Instant

End date of the log records

filter 0..1 String

Optional filter for the log entries, using the CloudWatch log insight filter syntax (without the 'filter' keyword)

message-regex 0..1 String

Optional regular expression matched against the log message. Supplied separately from 'filter' so that alternation ('|') is possible without allowing query-pipeline injection.

source 0..1 Code

Which log source to use (one of WebServer|AuthorizationServer|LambdaMap|LambdaIndex|LambdaQueueAgent). Defaults to WebServer

start 1..1 Instant

Start date of the log records

Out parameters

Name Cardinality Type Documentation
b 0..*

Returned histogram bucket

t 1..1 Instant

Bucket start date and time

n 1..1 Integer

Number of log records in the bucket

bin-minutes 1..1 PositiveInt

The size of each histogram bucket in minutes