Migrating Elastic Search Data Using Logstash

input {
    ElasticSearch {
        hosts => ["********your host**********"]
        user => "*******"
        password => "*********"
        index => "logstash-2017.11.07"
        size => 1000
        scroll => "1m"
    }
}
# a note in this section indicates that filter can be selected
filter {
}
output {
    ElasticSearch {
        hosts => ["***********your host**************"]
        user => "********"
        password => "**********"
        index => "logstash-2017.11.07"
    }
}

Hello i had Confusion over the above config file . What exactly the *hosts is ? whether i need to give the ip address of my computer or anything else?

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