Logstash configuration dynamic management

I run logstash in the following manner.
bin/logstash -f config/log_test.conf --config.reload.automatic

Contents:
input{}
filter{
~}
output{
if {
~~~~~
} else if {
~~~~~~~
}
}

I want to dynamically change the contents of log_test.conf.

This way, the log_test.conf file is modified, but it can not be managed remotely (REST).

If i can set the above logic on the pipeline in logstash.yml, i can manage it with REST. Using the function "Centralized Pipeline Management" https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html

However, "Centralized Pipeline Management" can not contain complex logic such as if - else, filter.

How can I solve this problem ??

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