Changes

Jump to: navigation, search

Balrog

411 bytes added, 14:54, 14 June 2017
ELB Logs
== ELB Logs ==
=== Public app ===
'''NOTE: ''' These instructions were written before [https://aws.amazon.com/blogs/aws/amazon-athena-interactive-sql-queries-for-data-in-amazon-s3/ Amazon Athena existed]. The next time we need to do such analysis, it's probably worth giving it a try. Other techniques may be better too - the instructions below are just something we've done in the past.
grep '/Firefox/.*WINNT.*/release/' /media/bucket/AWSLogs/361527076523/elasticloadbalancing/us-west-2/2016/09/17/* | gzip > /media/ephemeral0/sept-17-winnt-release.txt.gz
* Do additional queries on the new logfile.
 
=== Admin app ===
Nginx logs for the admin app are available (on a ~1 day time delay) in the [https://console.aws.amazon.com/s3/buckets/net-mozaws-prod-us-west-2-logging/balrog.admin.nginx.access/?region=us-west-2&tab=overview "net-mozaws-prod-us-west-2-logging" S3 bucket]. These logs are small enough that downloading and querying them locally is generally the most efficient thing to do.
== Backups ==
Canmove, confirm
6,438
edits

Navigation menu