Comments

2 comments

  • Avatar
    Kevin Sumo

    Hi Chuck,

    What is the format of the integer? is this an epoch time value you want to convert to a readable date?

    0
    Comment actions Permalink
  • Avatar
    Kevin Sumo

    Chuck,

    For an epoch time string you can convert this to a readable date with the following operation.

    formatDate(fromMillies(<field>), "MM/dd/yyyy HH:mm:ss:SS") as date

    Sumo Logic uses the standard Java SimpleDateFormat library for the time definition.

     

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.