-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syslog PRI #36
Comments
There is |
It seems to me PRI is a syslog specific field and because of this should be long under a syslog prefix as you did. Either |
Most syslog sources have a PRI field. Haven't seen PRI usage in non syslog data. A dedicated syslog object could also contain syslog.facility and syslog.severity. Or syslog specific data, seeing as these are pure logs, could maybe better get mapped under log.* ? log.pri Creating another 'root object' specific for syslog might be a little overkill? |
I would prefer to not have service specific fields in the generic objects. I tempted to say at the moment because of it would belong under |
Since severity and facility are actually extracted from the priority I think they should be prefixed by a syslog and for reference this is what the current Filebeat syslog input does. https://github.com/elastic/beats/blob/master/filebeat/input/syslog/input.go#L240 |
A dedicated syslog object is ok for me. So is this mapping what we need?
|
I'm working on extending our use cases here: #55 This would allow us to have a fields.yml for syslog in the use cases and then decide later if it makes sense in ECS directly or not but have it there for others to share (and comment). |
This will soon be resolved, see #525 |
Is syslog program is meant for process.name, is there a field for the PRI syslog field (which I used to name syslog_pri). This allows for calculation of facility and severity:
https://gist.github.com/marvin/1017480
The text was updated successfully, but these errors were encountered: