Comments (3)
@MattMencel could you explain more about how you want to use this? That is, what's the back story for why you want a facility per log file, rather than using the log file name (in syslog parlance, tag) as a filter later?
from remote_syslog.
On my central logging host (rsyslog) I originally thought I could only filter on facility. I ended up upgrading rsyslog to give me more filtering flexibility (from v5 to v7), but likely my issue was I didn't fully understand the rsyslog filtering rule language. I got it working eventually. I filter on the log source name sent with each log entry.
Still...being able to for example.... send remote maillogs as local3, authlogs as local4, http_access logs as local5, etc.... seems like it might be faster than parsing each log line for the data I am filtering on. Could be I'm wrong and it may not matter anyway. I'm sending multiple GBs of log data per hour to my log host now and it doesn't seem to faze it one bit. So maybe performance is not an issue.
from remote_syslog.
Thanks for the extra detail, @MattMencel. I think that's a good summary and would recommend filtering that way (tag/filename or full string) rather than by facility or severity, unless those really are the most granular/appropriate attributes for what you're looking for.
Performance is not an issue, or at least the difference between comparing the message and comparing the facility isn't going to make a difference.
from remote_syslog.
Related Issues (20)
- Catch exceptions from YAML parser
- Compression option HOT 3
- is there a way to filter out some strings? HOT 2
- remote_syslog 1.6.14 crashes on: attempted to remove invalid watch signature HOT 25
- max_message_size = 1024 for UDP - why? HOT 1
- remote_syslog 1.6.14 keeps deleted logfiles open HOT 6
- remote_syslog 1.6.14 keeps old logfiles open HOT 4
- PID file is not created when passing "no detach" option (-D)
- Constant 3-5% CPU usage per process HOT 7
- Rails Logfile, newlines are converted to <13> HOT 7
- Recommended rewrite in Go HOT 10
- Log all error events by default
- Can't seem to use relative path to ssl_server_cert HOT 5
- Anyone keen to rewrite this in Golang? HOT 10
- Can't process logrotate properly when use the copytruncate option on the logrotate HOT 1
- init script gives error on start HOT 9
- Recent commits to servolux break this gem HOT 4
- RemoteSyslogLogger HOT 8
- The 'exclude_patterns' in config sample is implicit and lack of instruction HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote_syslog.