Ingest Properties

Description Define the list of log files to ingest and send to CloudWatch logs.
Synopsis ingest: { path: "filename", group: "log-group', stream: "log-stream" }
Example files: [ { path: '/var/log/sys*log', group: 'ioto', stream: '{hostname}' } ],
Notes

The files property contains one or more file definitions to ingest and send to CloudWatch logs. The definitions define the log file name, AWS CloudWatch log group and stream names.

The path property may contain wild cards and all matching files will be ingested.

The group property specifies the AWS log group name which must exist.

The stream property specifies the AWS log stream name which must exist.

The group and stream properties may contain tokens that are expanded before use. The supported tokens are: "{hostname}" which translates to the system hostname, "{instance}" which expands to the AWS EC2 instance name and "{deviceId}" which expands to the provisioned device.id property.

© Embedthis Software. All rights reserved.