# Time aggregation error

**URL:** <https://discuss.elastic.co/t/time-aggregation-error/200829>\
**Category:** Logstash\
**Created:** [September 24, 2019, 9:19am UTC](https://discuss.elastic.co/t/time-aggregation-error/200829 "2019-09-24T09:19:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewToThis](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@NewToThis](https://discuss.elastic.co/u/NewToThis)\
**Post date:** [September 24, 2019, 9:19am UTC](https://discuss.elastic.co/t/time-aggregation-error/200829/1 "2019-09-24T09:19:33Z")

</div>

Hey people,

I running a time aggregation where I am adding a run time of a process to @timestamp.

@timestamp format is YYYY-MM-dd'T'HH:MM:ss.SSS'Z'

I add the run time as a float in seconds to @timestamp and get a 'solution' in the format of "YYYY-MM-dd HH:MM:ss UTC". (this part of the code is working as I can see it in the log)

And I think here comes my problem: I do get a aggregation error: ArgumentError: no time information in "" afterwards where I do believe that the next time parse function does not recognize the 'solution' as a valid time format.

Is it possible to do a date file conversation inside a aggregation code to convert it to a "recognizable" value again?

Thx 🙂

---

<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 22, 2019, 9:31am UTC](https://discuss.elastic.co/t/time-aggregation-error/200829/2 "2019-10-22T09:31:15Z")

</div>

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