I hereby claim:
- I am njpatel on github.
- I am njpatel (https://keybase.io/njpatel) on keybase.
- I have a public key whose fingerprint is 4948 C6B3 8568 CA30 47F7 2EEF 6103 E16B B1A7 F8F0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Protocol Buffers - Google's data interchange format | |
| // Copyright 2008 Google Inc. All rights reserved. | |
| // https://developers.google.com/protocol-buffers/ | |
| // | |
| // Redistribution and use in source and binary forms, with or without | |
| // modification, are permitted provided that the following conditions are | |
| // met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. |
Chromium OS is cool. Chromium OS with crouton is cooler. Chromium OS with Docker is even cooler. This is specifically a guide for the Chromebook Pixel 2 (2015), but I can't think of any reason it wouldn't work with other devices.
| black = '#3b4252'; | |
| red = '#bf616a'; // red | |
| green = '#a3be8c'; // green | |
| yellow = '#ebcb8b'; // yellow | |
| blue = '#81a1c1'; // blue | |
| magenta = '#b48ead'; // pink | |
| cyan = '#88c0d0'; // cyan | |
| white = '#e5e9f0'; // light gray | |
| lightBlack = '#4c566a'; // medium gray | |
| lightRed = '#bf616a'; // red |
| package webhook | |
| type Webhook struct { | |
| type string `json:"type"` | |
| payload json.RawMessage `json:"payload""` | |
| } |
| # you may want to skip access, you will gets tons of logs | |
| [sources.nginx_access_logs] | |
| type = "file" | |
| include = ["/var/log/sites/*/*/*/*/nginx/access.log"] # supports globbing | |
| ignore_older = 86400 # 1 day | |
| # product json logs | |
| [transforms.nginx_access_logs_json] | |
| type = "json_parser" | |
| inputs = ["nginx_access_logs"] |