# Alias with custom timestamp - time Field Name

**URL:** https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148
**Category:** Kibana
**Created:** [December 3, 2018, 10:57am UTC](https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148 "2018-12-03T10:57:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)
#### Post date: [December 3, 2018, 10:57am UTC](https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148/1 "2018-12-03T10:57:33Z")

</div>

I know how to update index with custom timeFieldName, I also know how to create an alias, but I do not know how to create an alias of an index with custom timeFieldName.

Target? To have one index, with multiple aliases pointing to different time field names as I have to create graphs based on different timestamps from the same index.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [December 4, 2018, 12:58am UTC](https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148/2 "2018-12-04T00:58:46Z")

</div>

Are you referring to the [Alias datatype](https://www.elastic.co/guide/en/elasticsearch/reference/master/alias.html)? With that, it should be strait forward to come up with a unified field name for your timestamp.

---

<div class="post-metadata">

### Author: ![wheelq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wheelq/32/35893_2.png) [@wheelq](https://discuss.elastic.co/u/wheelq)
#### Post date: [December 4, 2018, 8:41am UTC](https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148/3 "2018-12-04T08:41:51Z")

</div>

no. I have solved it. will post answer once I finish all other tests.

But basically I've used this: [https://github.com/elastic/kibana/issues/16705#issuecomment-373890873](https://github.com/elastic/kibana/issues/16705#issuecomment-373890873)

---

<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: [January 1, 2019, 8:42am UTC](https://discuss.elastic.co/t/alias-with-custom-timestamp-time-field-name/159148/4 "2019-01-01T08:42:10Z")

</div>

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