# Does Rally support custom metrics or custom index in the configuration

**URL:** <https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [January 20, 2021, 1:02pm UTC](https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652 "2021-01-20T13:02:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![111430](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111430/32/82616_2.png) [@111430](https://discuss.elastic.co/u/111430)\
**Post date:** [January 20, 2021, 1:02pm UTC](https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652/1 "2021-01-20T13:02:06Z")

</div>

I have many different versions of ES clusters that I often test with Rally. Does Rally support custom metrics or custom index in the configuration? From the documents, Rally - Metrics -\* is written by default and does not support configuration.

---

<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:** [January 21, 2021, 7:30am UTC](https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652/2 "2021-01-21T07:30:07Z")

</div>

Hi,

Rally allows you to specify so called [user-tags](https://esrally.readthedocs.io/en/stable/command_line_reference.html#user-tag) when you start a benchmark. These are arbitrary key-value pairs that you can use to identify different benchmark runs (see our [metrics record documentation for details](https://esrally.readthedocs.io/en/stable/metrics.html#meta)).

Here is one example from our nightly benchmarks:

```auto
{
  "@timestamp": 1611182229640,
  "relative-time": 58114619,
  "race-id": "b5f9cec4-c0eb-4daa-b088-4128d10b99a6",
  "race-timestamp": "20210120T200055Z",
  "environment": "nightly",
  "track": "geonames",
  "challenge": "append-no-conflicts",
  "car": "defaults+trial-license+x-pack-security",
  "name": "disk_io_write_bytes",
  "value": 16825364480,
  "unit": "byte",
  "sample-type": "normal",
  "meta": {
    "tag_name": "geonames-append-defaults-1node",
    "tag_setup": "bare-basic",
    "tag_race-configs-id": "race-configs-group-1.json",
    "tag_license": "trial",
    "tag_x-pack": "true",
    "os_name": "Linux",
    "os_version": "4.13.0-45-generic",
    "cpu_logical_cores": 8,
    "cpu_physical_cores": 4,
    "node_name": "rally-node-0",
    "host_name": "192.168.20.32"
  }
}

```

You can see the user-tag properties as keys prefixed with `tag_` in the `meta` structure.

Daniel

---

<div class="post-metadata">

**Author:** ![111430](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111430/32/82616_2.png) [@111430](https://discuss.elastic.co/u/111430)\
**Post date:** [January 21, 2021, 11:49am UTC](https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652/3 "2021-01-21T11:49:22Z")

</div>

> [@danielmitterdorfer](#):
>
> user-tags

Thank you very much for your careful answer. It can solve my question very well.

---

<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:** [February 18, 2021, 11:49am UTC](https://discuss.elastic.co/t/does-rally-support-custom-metrics-or-custom-index-in-the-configuration/261652/4 "2021-02-18T11:49:34Z")

</div>

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