# Can't set time field from log entry (Kibana 3)

**URL:** <https://discuss.elastic.co/t/cant-set-time-field-from-log-entry-kibana-3/32491>\
**Category:** Kibana\
**Created:** [October 19, 2015, 1:28pm UTC](https://discuss.elastic.co/t/cant-set-time-field-from-log-entry-kibana-3/32491 "2015-10-19T13:28:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cincue](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cincue](https://discuss.elastic.co/u/cincue)\
**Post date:** [October 19, 2015, 1:28pm UTC](https://discuss.elastic.co/t/cant-set-time-field-from-log-entry-kibana-3/32491/1 "2015-10-19T13:28:51Z")

</div>

Hi, I want to configure the time field from a log entry. I have a param "date" in object message from json formatted as Kibana date "yyyy-mm-ddT:hh:mm:ss.sssZ" and also separated in the object tags. I would like charts and tables will use tags.date for drawing instead of \_source.date.

This is a table entry, see tags.date is built from message. I can sort by my tag date:

```
{
  "_index": "logs-xxxxxxx-2015.10.19",
  "_type": "log",
  "_id": "AVCAEy5v-ZsPos8fIh-J",
  "_score": null,
  "_source": {
    "date": "2015-10-19T12:29:13.214Z",
    "message": "2015/10/19 08:29:11 [event:xxxxxx][date:2015-10-19T08:29:11.324Z][user_id:xxxxx][country_code:xx][phone_number:xxxxxxxxx][flow_type:xxxx][flow_sub_type:xxxx][message:null]",
    "tags": {
      "app": "xxxxxxxxx",
      "date": "2015-10-19t08:29:11.324z",
      "serv": "webserver",
      "phost": "xxxxxxx",
      "datacenter": "xxxx",
      "source": "xxxxxxxxxx",
      "dept": "xxxx",
      "message": "null",
      "short_source": "mercury.log",
      "flow_sub_type": "xxxxx",
      "country_code": "xxxx",
      "log_type": "application",
      "flow_type": "xxxxxx",
      "user_id": "xxxxxx",
      "scope": "null",
      "host": "xxxxxxx",
      "phone_number": "xxxxx",
      "persistent": "true",
      "event": "xxxxxx",
      "gav": "master"
    }
  },
  "sort": [
    "2015-10-19t08:29:11.324z"
  ]
}

```

.  
.  
But when I set the tags.date for a chart, it gets blank.  
.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/e/ef755ada537c4581c902cc6a8075b0ce0de2302e.png)

![](https://us1.discourse-cdn.com/elastic/original/2X/c/c3b5b8a3b9b4d924ef358f154fec099b7c0a6e57.png)

.

I also configured timepicker as tags.date in dashboard general configuration but it didn't work.  
.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/e/eb14b9d50cd98fd0ab6cef217e90b9a786feec5c.png)

.  
Unfortunately I don't have control of the interface which communicate my API with Kibana. I able to configure my api or kibana dashboard. Suggestions?

I apologise in advance if I have been unclear.  
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:** [July 6, 2017, 2:11pm UTC](https://discuss.elastic.co/t/cant-set-time-field-from-log-entry-kibana-3/32491/2 "2017-07-06T14:11:04Z")

</div>


