Read Configuration from Elasticsearch.yml File

Hi All,

I have created ES Aggregation Query plugin that push Query Response into Graphite but i want to configure my Graphite Server IP and PORT in Elasticsearch.yml file user have choice to plugin should run or not.

Please Suggest how can i do this.
Sumit Gupta