Elastic Search not picking configurations from configuration file

Hi

Below is my configuration file snapshot:-

index.number_of_shards: 20
index.number_of_replicas: 0
path.data: /opt/data
path.logs: /opt/log/
index.refresh_interval: -1
index.store.type: mmapfs
index.translog.flush_threshold_ops: 50000
index.merge.policy : log_byte_size
index.merge.policy.merge_factor: 30

Here only first 4 are loaded.

When i sent data to index via logstash, indexes have refresh interval of 1s and not of -1.

Below is the snapshot of index settings query:-

curl -s localhost:9200/_settings?pretty=true
{
"logstash-2013.10.19" : {
"settings" : {
"index.number_of_shards" : "20",
"index.number_of_replicas" : "0",
"index.version.created" : "900599"
}
}
}

From where does elastic search picks default configuration and what am I doing wrong in this??