# Specify i.e shard\_count, clients etc outside track.json

**URL:** <https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [October 26, 2017, 10:04am UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396 "2017-10-26T10:04:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohanRask](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johanrask/32/22713_2.png) [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Post date:** [October 26, 2017, 10:04am UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396/1 "2017-10-26T10:04:50Z")

</div>

Hi,

First, thanks for an awesome product, it is really helping us alot!!

I am using the rally-eventdata-track repository and I can see that there are a lot of things specified in track.json that I would like to specify from command line or as environment variable (or some other way...), is this possible?

something like

`esrally -E shard_count=2`

This would allow me to i.e run the benchmarks with different values after each other.

```
{# Maximum number of indexing threads to use #}
{% set clients = 20 %}

{# Rate limit steps (ops) for combined indexing and querying #}
{% set rate_limit_ops = [2,4,6,8,10,12,14,16,18,20,22,24,26,28,30] %}

{# Duration of each rate limited indexing and querying benchmark in seconds #}
{% set rate_limit_duration_secs = 1200 %}

{# Number of primary shards and replicas to index into #}
{% set shard_count = 2 %}
{% set replica_count = 0 %}

{% set shard_sizing_iterations = 25 %}
{% set shard_sizing_queries = 20 %}

```

Regards /Johan

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [October 26, 2017, 1:27pm UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396/2 "2017-10-26T13:27:16Z")

</div>

Hi @JohanRask,

thanks, great to hear that Rally is helping you. 🙂

It is not yet possible to specify track parameters on the command line but it is already on our roadmap and currently planned for the 0.8.x release series: See [https://github.com/elastic/rally/issues/310](https://github.com/elastic/rally/issues/310) for details.

Daniel

---

<div class="post-metadata">

**Author:** ![JohanRask](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johanrask/32/22713_2.png) [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Post date:** [October 26, 2017, 6:10pm UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396/3 "2017-10-26T18:10:06Z")

</div>

Perfect, thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 23, 2017, 6:10pm UTC](https://discuss.elastic.co/t/specify-i-e-shard-count-clients-etc-outside-track-json/105396/4 "2017-11-23T18:10:10Z")

</div>

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