Query @timestamp return epoch time

Thanks. I ended up just putting the time in both formats into the index, one as a long and the other as date. i'll look at docvalue_fields for the next project. i was hopeful since the date was already in epoch time, i could just get the date in epoch or some other format as part of the display of the data rather then add more data to the index. but i image its more complicated under the covers then that.