timestamp format

Hi, I have tons of timestamped data from different sources. Some of them have milliseconds , some does not. is it possible to import such data within one task?

Second question is : I could not find any description of timestamp formats in Druid.

The supported timestamp formats are in https://github.com/metamx/java-util/blob/master/src/main/java/com/metamx/common/parsers/TimestampParser.java

But you can only define one ParseSpec per ingestion task right now. So you could have multiple ingestions for the different data sets, but currently cannot have ONE ingestion tackle all the different timestamps.

try

“timestampSpec”: {
“column”: “timestamp”,
“format”: “posix”
}

Dmitry, the timestamp formats are described here:
http://druid.io/docs/latest/ingestion/

Search for “timestamp spec”