Created
February 15, 2017 09:11
-
-
Save muxueqz/011060e6529a9950685727b69559cb41 to your computer and use it in GitHub Desktop.
kibana server_id_by_script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def logger = doc['Logger.keyword'].value; | |
def server_id = logger.substring(0, logger.indexOf('|')); | |
return server_id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment