Date parsing log without date in it

This should give you a date field with the current date (in the local timezone):

filter {
  ruby {
    code => "
      event['date'] = Time.now.strftime('%Y-%m-%d')
    "
  }
}