# Rally-eventdata-track with custom parameter\_sources

**URL:** <https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [November 12, 2021, 8:03pm UTC](https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098 "2021-11-12T20:03:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueLegend](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@BlueLegend](https://discuss.elastic.co/u/BlueLegend)\
**Post date:** [November 12, 2021, 8:03pm UTC](https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098/1 "2021-11-12T20:03:24Z")

</div>

I am run rally-eventdata-track but want to change to my own mapping. I am curious as to how the data in parameter\_sources was generated so I can create my own from my data.  
Are there any docs on how I can do this?

---

<div class="post-metadata">

**Author:** ![Bradley\_Deam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bradley_deam/32/52991_2.png) [@Bradley\_Deam](https://discuss.elastic.co/u/Bradley_Deam)\
**Post date:** [November 14, 2021, 11:19pm UTC](https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098/2 "2021-11-14T23:19:44Z")

</div>

Hey @BlueLegend !

We do have some documentation on [creating custom tracks with custom parameter sources](https://esrally.readthedocs.io/en/stable/adding_tracks.html#custom-parameter-sources), though the mapping itself is set via [this template file](https://github.com/elastic/rally-eventdata-track/blob/9ad0d4824938ed07ebf031e072ef3d2d7bf4ca19/eventdata/elasticlogs-index-template.json).

If you have some of your own data already generated, then you may not need to use something like custom paramater sources, and instead it may be far simpler to create a [track from data within an existing cluster](https://esrally.readthedocs.io/en/stable/adding_tracks.html#creating-a-track-from-data-in-an-existing-cluster). Typically the custom parameter sources are used for more dynamic and advanced use cases.

Hope this helps!

Cheers,  
Brad

---

<div class="post-metadata">

**Author:** ![BlueLegend](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@BlueLegend](https://discuss.elastic.co/u/BlueLegend)\
**Post date:** [November 15, 2021, 6:43pm UTC](https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098/3 "2021-11-15T18:43:53Z")

</div>

Thanks for the response. I'm going to look at these docs more closely. I was able to come up with a crude method of generating my own lookup tables and weighted arrays based on terms aggregations from real world data.

---

<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:** [December 13, 2021, 6:44pm UTC](https://discuss.elastic.co/t/rally-eventdata-track-with-custom-parameter-sources/289098/4 "2021-12-13T18:44:46Z")

</div>

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