Hi everyone, I input netflow data to ES through nprobe(a netflow collector), but I found that the @timestamp doesn't match the browser time. It stays on 2018/1/20
for example January 20st 2018, 16:46:00.000 .
I think the @timestamp should match the local time but the it difference to real time about 1 month.
Where is the @timestamp field in the documents set? What is the date/time of that host? If it is derived based on a field, what is the content of that field? Can you show a full event that has this problem?
What does your Logstash config look like? Also, can you please copy and paste a full event in JSON form, rather than providing a screenshot of a partial event?
Elasticsearch does not assign any default timestamp, so I suspect it comes from the source. You can process documents in Elasticsearch using an ingest node pipeline, and you should be able to assign the timestamp the document is indexed into Elasticsearch if you feel this would be more appropriate than the data coming from probe. If data is delayed coming into Elasticsearch this would however be misleading.
I refer the doc you mentioned earlier.
I want to update all data(about 10 thousands data) or let the comming data has the timestamp field.
this is my command:
I am not sure how to use the command here.
Because I want all the data has the timestamp field.
so my concept is like this: PUT logstash-*/*/*?pipeline=timestamp
but it apparently can't work.
thank you
For this to work, the application indexing into Elasticsearch would need to indicate which pipeline to use as per the example, which I naturally may not be possible. Sorry for not considering that in the first place.
It needs to be specified when the document is indexed, which is why it probably will not work. I think the best way is to fix this where the timestamp is generated.
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.