I have the following configuration to run esrally:
"target_hosts.json"
{
"default": [
{"host": "127.0.0.1", "port": 9200},
{"host": "127.0.0.1", "port": 9201}
],
"remote":[
{"host": "10.1.1.1", "port": 9200},
{"host": "10.1.1.2", "port": 9200}
]
}
And I made my multiple Elasticsearch clusters as follows:
curl -XPUT '127.0.0.1:9200/_cluster/settings' -H 'Content-Type: application/json' -d '
{
"persistent": {
"cluster": {
"remote": {
"node1": {
"seeds": ["10.1.1.1:9300"]
}
}
}
}
}'
and two clusters are connected successfully.
I used the following rally command to get the performance of the multiple Elasticsearch clusters:
esrally --offline --track=eventdata --target-hosts="target_hosts.json" --pipeline=benchmark-only --challenge=append-no-conflicts --track-params='number_of_shards:4, number_of_replicas:0'
rally start to benchmark the clusters, but unfortunately, it did not use the remote cluster and just put 4 shards on the local cluster and finished the benchmarking.
Could you please let me know, what is wrong with this configuration? Is there any link that I can follow to run this benchmark.