I am using esrally for benchmakring elasticsearch. rally by default looks for config at this location i.e /rally/.rally/rally.ini, is it possible to specify the custom path while running the race for example: esrally race --track nyc_taxis --config /data/rally.ini ? Kindly assist me.
Unfortunately there's no explicit
--config argument/option available.
By default Rally will attempt to look in the user's default home directory (
~/.rally) for the required files. If you'd like to use a different directory, then you can set the
RALLY_HOME environment variable to point to a different directory that only contains
logging.json etc will be created automatically), for example..
$ ls -la /Users/myuser/test/
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 11:44 ./
drwxr-xr-x+ 111 myuser mygroup 3.5K 5 Jul 11:44 ../
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 12:01 .rally/
$ ls -la /Users/myuser/test/.rally/
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 12:01 ./
drwxr-xr-x 3 myuser mygroup 96B 5 Jul 11:44 ../
-rw-r--r-- 1 myuser mygroup 811B 5 Jul 11:57 rally.ini
$ export RALLY_HOME="/Users/myuser/test/"
$ esrally race --track nyc_taxis