# Want to extract day number and day time from current data

**URL:** <https://discuss.elastic.co/t/want-to-extract-day-number-and-day-time-from-current-data/200530>\
**Category:** Elasticsearch\
**Created:** [September 21, 2019, 1:29pm UTC](https://discuss.elastic.co/t/want-to-extract-day-number-and-day-time-from-current-data/200530 "2019-09-21T13:29:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahrukh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shahrukh/32/54371_2.png) [@shahrukh](https://discuss.elastic.co/u/shahrukh)\
**Post date:** [September 21, 2019, 1:29pm UTC](https://discuss.elastic.co/t/want-to-extract-day-number-and-day-time-from-current-data/200530/1 "2019-09-21T13:29:16Z")

</div>

I am reading cloudfront logs using logstash and storing the data into elasticsearch, the process works fines and stores all the required fields, so far I have 11M records in cluster. Now for the statistics purposes I feel it would have been better and easy if I had stored day name, day number and time of the day from the very beginning. Can I now update the current data and have these fields ?

---

<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:** [October 19, 2019, 1:29pm UTC](https://discuss.elastic.co/t/want-to-extract-day-number-and-day-time-from-current-data/200530/2 "2019-10-19T13:29:19Z")

</div>

Closed on October 19, 2019, 1:29pm UTC

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