Kibana simply shows the response from Elasticsearch, so any issue you have is going to be in your ingest pipeline somewhere. I'm not familiar with netflow myself, are you sure it's making it to Logstash in realtime, or is it possible that the data coming from the source is being cached or delayed perhaps? If you know the data is coming in quickly, perhaps something is misconfigured with your Elasticsearch node that is causing writes to take a long time to happen?
Oh, I think I misunderstood before, it's not that the data is taking 10 minutes to show up, it's that the timestamp is off by 10 minutes... is that right?
Are you collecting data and doing the processing on different machines? Maybe the clock on one of them is off?
yes, that's right. Sorry about my poor English
I collect netflow on A machine and send them to B machine to process and ingest into ES,
but I think the time should match my B machine clock? and it's not related to A machine?
I'm honestly not sure. I would expect that the documents, being created on machine B, would have the timestamp already generated with machine B's clock, before it's sent off to machine A. But that's just my assumption, I have no idea if that's true. If the clocks are off though, especially off by 10 minutes, then you have the answer. Either way, it's worth syncing the clocks up as much as possible.
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.