inhinyera16
(Archelle Pagapulan)
October 19, 2021, 3:31pm
1
Hello .. i am trying to use translate filter in my logstash config file but im getting below error
here's is my logstash config file
input {
tcp {
port => 9563
codec => plain { charset=>"UTF-8" }
}
}
filter {
translate {
source => "[message]"
dictionary_path => "/etc/logstash/conf.d/vsphere/pdl/vsphere_esxi_lookup.csv"
}
}
output {
stdout {
codec => rubydebug
}
}
appreciate any help
AquaX
(Andreas Helmer)
October 19, 2021, 5:22pm
2
What version are you using?
I think you may be using newer docs than what is installed on your system.
The "source" configuration option was introduced in version 3.3.0 (released in June 2021).
The previous configuration option is called "field" so try using that instead.
## 3.3.0
- Feat: added ECS compatibility mode [#89](https://github.com/logstash-plugins/logstash-filter-translate/pull/89)
- deprecated `destination` option in favor of `target` to better align with other plugins
- deprecated `field` option in favor of `source` to better align with other plugins
- when ECS compatibility is enabled, default behaviour is an in-place translation
- Fix: improved error handling - do not rescue potentially fatal (JVM) errors
## 3.2.3
- Fix to align with docs - looked-up values are always strings. Coerce better. [#77](https://github.com/logstash-plugins/logstash-filter-translate/pull/77)
- Fix bug in dictionary/file the always applied RegexExact, manifested when dictionary keys are not regex compatible [Logstash #9936](https://github.com/elastic/logstash/issues/9936)
- Added info to dictionary_path description to explain why integers must be quoted
## 3.2.2
- Fix bug in csv_file when LS config has CSV filter plugin specified as well as a csv dictionary.
[#70](https://github.com/logstash-plugins/logstash-filter-translate/issues/70)
## 3.2.1
- Updated formatting of examples in documentation for consistent rendering
## 3.2.0
This file has been truncated. show original
input {
tcp {
port => 9563
codec => plain { charset=>"UTF-8" }
}
}
filter {
translate {
field => "[message]"
dictionary_path => "/etc/logstash/conf.d/vsphere/pdl/vsphere_esxi_lookup.csv"
}
}
output {
stdout {
codec => rubydebug
}
}
Alternatively you can upgrade your logstash or the filter plugin to the latest version.
1 Like
system
(system)
Closed
November 16, 2021, 5:22pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.