Elasticsearch - Maintaining Historical data

I am new to Elasticsearch with a very basic question to ask;

I am planning to use Elasticsearch for JSON files storage, i grab those JSON files from Social networks at a fixed ranges (ex: 5hours). What i need to do is comparing files that are physically stored in HDFS in separate reps by dates. Does Elasticsearch support historical data in a way i can compare files that they have the same structure but grabbed at differents dates?

Thanks in advance.

No it doesn't, you need to do this external to ES.