I am sending logs from Jenkins to ELK. Because of the jade timestamp and not having enough precision to nano or milli seconds , I have introduced a sequence number against every line of log that enters logstash . Even after introducing the sequence number , the problem persists. If the logs are not in sequence in Kibana , its misleading to the users.
Below is the sample of console logs in jenkins :
Below is a sample of how logs are in my kibana : The number on extreme right is the sequence number.
As can be seen , the log line "Finished :Success " is at the bottom in actual jenkins logs . but in my kibana UI it appears in the middle.
Will any change in the pipeline work ?
Thanks in advance.