I have a question regarding Kafka. I have create two topics called first_topic and second_topic
I have a logstash-kafka.conf file
bootstrap_servers => "servera:9092"
topics => ["first_topic"]
hosts => ["elasticA:9200"]
index => "logstash-nco"
and I get the data fine in elasticsearch.
how can I pull the data from second_topic and insert into logstash-tiv index in elasticsearch? Do I have to create to separate conf file? or can I add the logic into the existing logstash-kafka.conf file? Please tell mehow can I pull the data from 2 separate topic and insert into 2 separate index using the same config file logstash-kafka.conf?