AWS Elastic Beanstalk
For the best user experience, we recommend logging into the Mezmo web app and following the account-tailored add log source instructions. You may also follow the more generic instructions below
Copy the configuration for your version of the Mezmo agent into into a .config file in your Elastic Beanstalk app's .ebextensions directory.
Before redeploying your Elastic Beanstalk app, be sure to insert your Mezmo Ingestion Key and specify any custom directories you want the Mezmo agent to monitor.
Mezmo Agent v2
x
files "/etc/yum.repos.d/logdna.repo" mode"000644" ownerroot grouproot content [logdna] name=logdna packages baseurl=https://assets.logdna.com/el6/ enabled=1 gpgcheck=1 gpgkey=https://assets.logdna.com/logdna.gpg "/home/ec2-user/logdna.sh" mode"000755" ownerroot grouproot content #!/bin/bash rpm --import https://assets.logdna.com/logdna.gpg yum -y install logdna-agent systemctl start logdna-agent systemctl enable logdna-agent "/etc/logdna.env" mode"000644" ownerroot grouproot content LOGDNA_INGESTION_KEY=YOURAPIKEY LOGDNA_TAGS=TESTcommands 1_install_agent command"/home/ec2-user/logdna.sh" 2_enable_agent command"systemctl restart logdna-agent"Was this page helpful?