Created
September 28, 2011 17:22
-
-
Save Rio517/1248557 to your computer and use it in GitHub Desktop.
elasticsearch configuration fail
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
#/usr/local/elasticsearch/elasticsearch-0.17.7/logger.yml/elasticsearch.yml | |
# The cluster name | |
cluster.name: traceful_elasticsearch | |
cloud: | |
aws: | |
access_key: AKIAIPILOGJA7ORIBDNQ | |
secret_key: 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 | |
discovery: | |
type: ec2 | |
gateway: | |
type: s3 | |
s3: | |
bucket: traceful_index_backup | |
# Path Settings | |
#path.conf: /path/to/conf | |
#path.data: /path/to/data | |
#path.work: /path/to/work | |
#path.logs: /path/to/logs | |
# Force all memory to be locked, forcing the JVM to never swap | |
bootstrap.mlockall: true | |
# Gateway Settings | |
# Controls when to start the initial recovery process when starting a new cluster | |
# allowing for better reused of existing data during recovery. | |
gateway.recover_after_nodes: 1 | |
gateway.recover_after_time: 5m | |
gateway.expected_nodes: 1 | |
# Controls the minimum number of master eligible nodes this node should "see" | |
# in order to operate within the cluster. | |
# Set this to a higher value (2-4) when running more than 2 nodes in the cluster | |
#discovery.zen.minimum_master_nodes: 1 | |
# The time to wait for ping responses from other nodes when doing node discovery | |
#discovery.zen.ping.timeout: 3s | |
# Unicast Discovery (disable multicast) | |
#discovery.zen.ping.multicast.enabled: false | |
#discovery.zen.ping.unicast.hosts: ["host1", "host2"] |
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
#/usr/local/elasticsearch/elasticsearch-0.17.7/logger.yml | |
rootLogger: INFO, console, file | |
logger: | |
# log action execution errors for easier debugging | |
action: DEBUG | |
# reduce the logging for aws, too much is logged under the default INFO | |
com.amazonaws: WARN | |
# gateway | |
gateway: DEBUG | |
#index.gateway: DEBUG | |
# peer shard recovery | |
#index.shard.recovery: DEBUG | |
# discovery | |
discovery: TRACE | |
appender: | |
console: | |
type: console | |
layout: | |
type: consolePattern | |
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" | |
file: | |
type: dailyRollingFile | |
file: ${path.logs}/${cluster.name}.log | |
datePattern: "'.'yyyy-MM-dd" | |
layout: | |
type: pattern | |
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment