Need Help in converting Julian date in to Calender date

Need help in converting Julian date in to Calender date Below is the sample Syslog message from the mainframe

N C000000 PROD 15307 23:58:19.27 JOB78042 00000004 $HASP101 OGIVJS11 HELD

would like to convert 15307 in to something like November 3rd 2015.

1 Like

From what I understand, I suppose you could use a ruby filter with call to the joda time library that should provide something to go from/to julian chronology => http://joda-time.sourceforge.net/apidocs/org/joda/time/DateTimeUtils.html
Maybe something like could help you, supposing you grokked the julian day into the julian field of the event.

ruby {
  code => "event['day'] = org.joda.time.DateTimeUtils.fromJulianDay(event['julian'].to_f)"
}