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
6e4ea935f7
demarches-normaliennes
/
config
/
initializers
/
logstasher.rb
6 lines
101 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
|
Rubocop: enable indentation width rule
2017-08-28 11:18:38 +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