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.
OptionalsystemdThis 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:
enabledflag to truecdk-baseAmigo role in your AMIjournald. We recommend doing this by logging tostdoutand usingsystemdto 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.