Closed Bug 1419549 Opened 7 years ago Closed 7 years ago

[ops infra socorro] logging

Categories

(Socorro :: Infra, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Unassigned)

References

Details

The new ops infrastructure for socorro needs working logging from all the nodes to the logging host.

Because nodes produce a lot of output, it'd be best if we could get logging broken up by node type. Processor logs in one file, crontabber logs in another file, webapp logs in a third file, etc.

This bug covers setting up logging and making sure developers can access it.
Logging in new-stage is configured for all node types, including:
  - collector (antenna)
  - crontabber
  - elasticsearch
  - processor
  - webapp

The current recommendation for accessing logs is the rawlogs host. The socorro rawlogs hosts can be accessed through the logging bastion like so:

```ssh -A logging.bastion.us-east-1.stage.mozaws.net -t ssh socorro``` (for stage)
```ssh -A logging.bastion.us-west-2.prod.mozaws.net -t ssh socorro``` (for prod, not yet configured)

There are accounts for both devs on both the logging bastion and the rawlogs host. PM me if you have trouble with access!

See here for more info on logging access: https://mana.mozilla.org/wiki/display/SVCOPS/Logging+2.0+Access+Retention+and+Delays

Logs are broken up by node type and function, such as:
socorro.collector.docker.collector.log
socorro.collector.file.nginx_access.log
socorro.webapp.docker.webapp.log
socorro.webapp.file.nginx_access.log
... etc.
I tested this out just now and was able to log in through the bastion for -stage to the socorro server and view the logs. Yay!

Marking this as FIXED.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.