Allow index and host parameters to be specified as query args