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
| input { | |
| file { | |
| path => [ "/etc/myapp/myapp.log" ] | |
| } | |
| } | |
| filter { | |
| multiline { | |
| pattern => "^(%{LOGBACK_TIMESTAMP})" | |
| patterns_dir => "/etc/logstash/grok/patterns" |
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
| # Optimization for re-indexing | |
| These settings can be turned on/off to increase performance when doing re-indexing of existing large dataset | |
| ### Disable refresh while re-indexing `page 161` | |
| You can turn off automatic refreshes while you are building a big new index, and then turn them back on when you start using the index in production: | |
| Before re-indexing: | |
| POST /my_logs/_settings |
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
| ProxyPass /data http://localhost:8080/clinicaldata timeout=1800 | |
| ProxyPassReverse /data http://localhost:8080/clinicaldata |
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
| # Make Tab autocomplete regardless of filename case | |
| set completion-ignore-case on | |
| # List all matches in case multiple possible completions are possible | |
| set show-all-if-ambiguous on | |
| # Immediately add a trailing slash when autocompleting symlinks to directories | |
| set mark-symlinked-directories on |
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
| { | |
| "changed": true, | |
| "instance_ids": [ | |
| "i-1a2b3c4d" | |
| ], | |
| "instances": [ | |
| { | |
| "ami_launch_index": "0", | |
| "architecture": "x86_64", | |
| "dns_name": "", |
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
| { | |
| "ansible_date_time": { | |
| "date": "2015-04-20", | |
| "day": "20", | |
| "epoch": "1429565280", | |
| "hour": "14", | |
| "iso8601": "2015-04-20T21:28:00Z", | |
| "iso8601_micro": "2015-04-20T21:28:00.106961Z", | |
| "minute": "28", | |
| "month": "04", |
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
| #!/bin/bash | |
| # | |
| # chkconfig: 2345 95 20 | |
| # description: Tomcat 8 start/stop/status init.d script | |
| # processname: tomcat | |
| # | |
| # Tomcat 8 start/stop/status init.d script | |
| # | |
| # Updates: | |
| # @author: Tongliang Liu <[email protected]> |
NewerOlder