This website requires JavaScript.
Explore
Help
Register
Sign in
DGNum
/
demarches-normaliennes
Watch
15
Star
1
Fork
You've already forked demarches-normaliennes
0
Code
Issues
1
Pull requests
Projects
Releases
Packages
Wiki
Activity
698416024d
demarches-normaliennes
/
config
/
initializers
/
logstasher.rb
6 lines
99 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add custom field 'type' in logstash logs.
2016-03-03 18:33:59 +01:00
if
LogStasher
.
enabled
LogStasher
.
add_custom_fields
do
|
fields
|
Indent using spaces, not tabs
2017-04-04 16:04:17 +02:00
fields
[
:type
]
=
"
tps
"
Add custom field 'type' in logstash logs.
2016-03-03 18:33:59 +01:00
end
end
Reference in a new issue
Copy permalink