Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldarren/omnodes3
output module to s3
https://github.com/ldarren/omnodes3
Last synced: about 2 months ago
JSON representation
output module to s3
- Host: GitHub
- URL: https://github.com/ldarren/omnodes3
- Owner: ldarren
- License: mit
- Created: 2019-08-25T07:47:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T21:03:12.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T17:51:40.812Z (10 months ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## setup
omnodes3 need s3 write permission, please keep your aws credential in `~/.aws/credentials`
```
[logger]
aws_access_key_id = {ACCESS_KEY}
aws_secret_access_key = {SECRET_KEY}
```run omnodes3
```
npm start -- -b 'your bucket' -s 'your app name'
```## usage
omnodes3 can be used to forward log to s3. in rsyslog `/etc/rsyslog.d/1000-YOURSERVICE`
```
:rawmsg,contains,"YOUR SERVICE KEY WORD" @localhost:41337
```## test
```bash
echo '{"foo":"bar"}' > /dev/udp/127.0.0.1/41337
```