Skip to content

Instantly share code, notes, and snippets.

@skriebel
Created April 21, 2015 14:39
Show Gist options
  • Save skriebel/7477059fb20e15c6d765 to your computer and use it in GitHub Desktop.
Save skriebel/7477059fb20e15c6d765 to your computer and use it in GitHub Desktop.
ruby {
code => "event['_logstash_host'] = Socket.gethostname"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment