This file contains 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
... | |
[2015-09-18 03:53:33,784][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1414 | |
[2015-09-18 03:53:35,144][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1415 | |
[2015-09-18 03:53:36,212][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1416 | |
[2015-09-18 03:53:37,726][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1417 | |
[2015-09-18 03:53:39,029][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1418 | |
[2015-09-18 03:53:40,263][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1419 | |
[2015-09-18 03:53:41,561][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1420 | |
[2015-09-18 03:53:42,811][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1421 | |
[2015-09-18 03:53:45,611][DEBUG][discovery.zen.publish ] [Hercules] received cluster state version 1422 |
This file contains 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
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
This file contains 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
{ | |
"template": "logstash-*", | |
"order": 0, | |
"settings": { | |
"index": { | |
"refresh_interval": "30s" | |
} | |
}, | |
"mappings": { | |
"_default_": { |
This file contains 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
{ | |
"trigger": { | |
"schedule": { | |
"interval": "60s" | |
} | |
}, | |
"input": { | |
"http": { | |
"request": { | |
"host": "localhost", |
This file contains 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
{ | |
"metadata": { | |
"used_percent": 0.9, | |
"email_to": "[email protected]" | |
}, | |
"trigger": { | |
"schedule": { | |
"interval": "5m" | |
} | |
}, |
This file contains 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
{ | |
"trigger": { | |
"schedule": { | |
"interval": "1m" | |
} | |
}, | |
"metadata": { | |
"skip_hosts": [""], | |
"window_size": "2m", | |
"collection_scope": "48h" |
This file contains 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
GET metricbeat/_search | |
{ | |
"query": { | |
"bool": { | |
"filter": { | |
"bool": { | |
"should": [ | |
{"term": {"metricset.name": {"value": "cpu"}}}, | |
{"term": {"metricset.name": {"value": "load"}}} | |
] |
This file contains 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
input { | |
stdin { | |
codec => json {} | |
} | |
} | |
filter { | |
clone { | |
clones => ['cloned_test_event'] | |
} |
This file contains 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
PUT _template/default | |
{ | |
"order": 0, | |
"template": "*", | |
"settings": { | |
"index": { | |
"number_of_shards": "2", | |
"number_of_replicas": "1" | |
} | |
} |
This file contains 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
PUT _ingest/pipeline/truncate-field | |
{ | |
"description": "Use the Script processor to truncate a field to 10 characters", | |
"processors": [ | |
{ | |
"script": { | |
"inline": "ctx.foo = ctx.foo.substring(0, (int) Math.min(10, ctx.foo.length()))" | |
} | |
} | |
] |
OlderNewer