Logstash pipelines remote editing

I have to develop a elasticsearch management web page.
kafka -> logstash -> elasticsearch.
Here, I need to create the ability to change the logstash configuration on the administration page.

it should be able to change the index of kafka topics and elasticsearch.

Is there a way ?? I do not know how I look.

Have you looked at the centralized pipeline management feature?

https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html

need a license...
Is there any other way ??

You can let the backend service of your web application generate the required Logstash configuration based on the user's input.