{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/17163","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17163/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17163/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17163/events","html_url":"https://github.com/elastic/elasticsearch/issues/17163","id":141538149,"number":17163,"title":"Field aliases","user":{"login":"carlosvega","id":1414389,"avatar_url":"https://avatars.githubusercontent.com/u/1414389?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosvega","html_url":"https://github.com/carlosvega","followers_url":"https://api.github.com/users/carlosvega/followers","following_url":"https://api.github.com/users/carlosvega/following{/other_user}","gists_url":"https://api.github.com/users/carlosvega/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosvega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosvega/subscriptions","organizations_url":"https://api.github.com/users/carlosvega/orgs","repos_url":"https://api.github.com/users/carlosvega/repos","events_url":"https://api.github.com/users/carlosvega/events{/privacy}","received_events_url":"https://api.github.com/users/carlosvega/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-17T10:17:57Z","updated_at":"2016-03-17T13:44:27Z","closed_at":"2016-03-17T13:32:12Z","body":"I found that, despite fields with parentheses are valid on Kibana, timelion do not allow it even if they are escaped or enclosed into quotation marks. I opened an issue in the Timelion github but, I thought, what about alias of fields?, sometimes there are long fields with details about the metric (like if it's on ms or seconds) and could be quite useful to have field alias on elasticsearch or kibana. Like the index alias."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/197885104","html_url":"https://github.com/elastic/elasticsearch/issues/17163#issuecomment-197885104","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/17163","id":197885104,"user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T13:44:27Z","updated_at":"2016-03-17T13:44:27Z","body":"> sometimes there are long fields with details about the metric (like if it's on ms or seconds)\r\n\r\nthat is kibana only, nothing to do with elasticsearch.  \r\n\r\nif you're talking about adding an alias from eg `foo(bar)` to `foo_bar`, I don't really see the point of cluttering your mappings (and the cluster state) with this.  Instead, you could use an ingest pipeline to rename the field, or the `copy_to` mapping parameter to do something similar."}}