Skip to content

Instantly share code, notes, and snippets.

@coolacid
Last active August 29, 2015 13:56
Show Gist options
  • Save coolacid/9279270 to your computer and use it in GitHub Desktop.
Save coolacid/9279270 to your computer and use it in GitHub Desktop.
# Create a temp timestamp field from the dates field
mutate {
add_field => [ "tmpts", "${dates}" ]
}
# Add the heure field to create an array of both fields
mutate {
merge => ["tmpts", "heure"]
}
# Now Join the arrays together split by ::space::
mutate {
join => ["tmpts", " "]
}
# Do Date matching here
# TODO
# Remove Temp Field
mutate {
remove => [ "tmpts" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment