Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7343107
D6665.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
515 B
Subscribers
None
D6665.diff
View Options
diff --git a/site-modules/profile/templates/logstash/filter.conf.erb b/site-modules/profile/templates/logstash/filter.conf.erb
--- a/site-modules/profile/templates/logstash/filter.conf.erb
+++ b/site-modules/profile/templates/logstash/filter.conf.erb
@@ -30,6 +30,11 @@
}
}
} else {
+ if [syslog][facility] !~ /^\d+$/ {
+ mutate {
+ rename => { "[syslog][facility]" => "[syslog][facility_name]" }
+ }
+ }
if [@metadata][version] {
mutate {
add_field => {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 17 2025, 7:25 PM (7 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224606
Attached To
D6665: logstash: rename syslog facility to facility_name when it's a string
Event Timeline
Log In to Comment