To start: I know that using scripted fields in visualizations with large data sets can cause performance issues. I'll tackle that after I figure this out.
Now with that out of the way:
I have a data set that includes an integer epoch time field with ranges from roughly -300000 to 1300000 (representing ranges from 1960 to 2015 or so).
I have created a scripted field doc['time'].value
but painless and moment.js expect time in milliseconds since the epoch and my data is in seconds.
Is there a way to multiply "time" by a thousand on the fly to make my data reflect the true date/time?