I send a JSON object string to logstash, and one of the keys of the JSON object is @timestamp with a timestamp I've generated, but when I put it into logstash I get @timestamp which is generated by logstash, and @_timestamp which is the value I set. How can I provide a custom timestamp value directly from the application?
Is it possible to do this without using filters or modifying the logstash config file?
but for the second line you get an _@timestamp and logstash adds it own @timestamp. So you would need to use a date filter if your @timestamp is not in the format logstash expects.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.