Enables forwarding of application logs to the Guardian ELK stack.
Note, to work, you will need to also do the following non-CDK things:
cdk-base
Amigo role in your AMI.journald
. We recommend doing this by logging to stdout
and
using systemd
to start your appsystemdUnitName
]] is configured properly.Unless you have explicitly opted-out, appropriate IAM permissions for
logging to Kinesis will be configured automatically via the [[GuEc2App
]]
pattern.
Optional
systemdThis needs to match the name of your SystemD unit.
If your systemd unit is not <app>.service
set this value.
To ship your application logs to ELK automatically, you must:
enabled
flag to truecdk-base
Amigo role in your AMIjournald
. We recommend doing this by logging tostdout
and usingsystemd
to start your appsystemdUnitName
]] is configured properly.Unless you have explicitly opted-out, appropriate IAM permissions for logging to Kinesis will be configured automatically via the [[
GuEc2App
]] pattern.