Add @timestamp using Python API


(Daniela Ruz) #1

I wrote a script that loads files to ES using the Python API (helpers.parallel_bulk). But, when the same files are sent using Logstash, there's a field called "@timestamp".

I'd like to add the same field using the API but I don't want to modify the mappings in any way.

Is there a way to do it?


(system) #2

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