Use variable with logstash

Hello
I have a long list like this
if [monitoring_data_name] == "componentFault" {
pipeline { send_to => "componentFault" }
}
else if [monitoring_data_name] == "localAccountPasswordModification" {
pipeline { send_to => "localAccountPasswordModification" }
}
else if [monitoring_data_name] == "sshPDUConnection" {
pipeline { send_to => "sshPDUConnection" }
}
else if [monitoring_data_name] == "activeCircleFtpsConnection" {
pipeline { send_to => "activeCircleFtpsConnection" }
}
etc....
Is it possible to make something more synthetic by using variables and how?
Regards

Unfortunately no, the pipeline output is pretty simple and do not supports using variables or a dynamic value like a field name.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.