[JIRA] [logstash-plugin] (JENKINS-29830) Logstash plugin set @timestamp value to line output value
Title: Message Title Rusty Gerard commented on JENKINS-29830 Re: Logstash plugin set @timestamp value to line output value This is available in the build wrapper starting with version 1.2.0. Currently it is not implemented in the post-build action. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [logstash-plugin] (JENKINS-29830) Logstash plugin set @timestamp value to line output value
Title: Message Title SCM/JIRA link daemon commented on JENKINS-29830 Re: Logstash plugin set @timestamp value to line output value Code changed in jenkins User: Rusty Gerard Path: src/main/java/jenkins/plugins/logstash/persistence/AbstractLogstashIndexerDao.java src/test/java/jenkins/plugins/logstash/persistence/AbstractLogstashIndexerDaoTest.java http://jenkins-ci.org/commit/logstash-plugin/2e6899bf5128ef0fd5ef950204cf4c0623915373 Log: Merge pull request #13 from rwtsoftware/JENKINS-29830 Add Timestamps Compare: https://github.com/jenkinsci/logstash-plugin/compare/7b20502a6d5e...2e6899bf5128 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [logstash-plugin] (JENKINS-29830) Logstash plugin set @timestamp value to line output value
Title: Message Title Rusty Gerard commented on JENKINS-29830 Re: Logstash plugin set @timestamp value to line output value It would be fairly easy to update the @timestamp field with each message sent by the build wrapper. Modifying the post-build action to add timestamps at the start of each log line might be challenging. I think the best approach would be to piggyback on the Timestamper plugin; i.e. when Timestamper is installed and decorating the log, then the Logstash plugin recognizes this and adds the same to its payload. I'm not familiar with how the Timestamper plugin works, so some assistance would be appreciated. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [logstash-plugin] (JENKINS-29830) Logstash plugin set @timestamp value to line output value
Title: Message Title Dawid Gosławski created an issue Jenkins / JENKINS-29830 Logstash plugin set @timestamp value to line output value Issue Type: Improvement Assignee: Unassigned Components: logstash-plugin Created: 06/Aug/15 2:24 PM Environment: Logstash-plugin 1.1.0 (June 12, 2015) Jenkins ver. 1.583 Labels: logstash Priority: Minor Reporter: Dawid Gosławski I noticed the timestamp and @timestamp field are always same and set to build start timestamp. Is it possible to log line generation time ? I was very confused that we have 2 timestamp dates (already fixed in 1.1.1) with same value. I expected data['timestamp'] to be build timestamp and @timestamp to be line timestamp. Is it by design imposible to get the current time into @timestamp ? Maybe if you do not want to implement it by yourself - reading from files generated by Timestamper could be the solution.