newrelic-elasticsearch icon indicating copy to clipboard operation
newrelic-elasticsearch copied to clipboard

Not able to change name of Cluster through Plugin Config

Open vandanpathak-gep opened this issue 7 years ago • 8 comments

Hi

While installing the service , In Config File , there was an option to give name in plugin file . We gave a different name in that but in newrelic it shows default ElasticSearch cluster name. Can you help me to pass on Custom name to NewRelic and should not take default name of Elastic Cluster. ?

vandanpathak-gep avatar Sep 06 '17 12:09 vandanpathak-gep

could you please paste your config?

s12v avatar Sep 06 '17 21:09 s12v

{ "agents": [ { "host" : "localhost", "port" : 9200, "username": "", "password": "", "_protocol": "Optional. Default 'http'. Rename to 'protocol' and set to 'https' if needed.", "_basePath": "Optional. API path on server. Default '/'. Rename to 'basePath' if you need to customize it", "_name": "QC_US" } ] }

Hope U asking for Config from file Plugin.Json .

vandanpathak-gep avatar Sep 07 '17 07:09 vandanpathak-gep

@vandanpathak, rename _name to name

s12v avatar Sep 07 '17 08:09 s12v

@s12v Thanks Bro.. It Worked.. One Question , I have 3 Load balanced VM and all three are like node of single elastic cluster . If i install this plugin on all three VM's will there be data duplicate in NewRelic dashboard since on all three VM , Service is running ?

vandanpathak-gep avatar Sep 08 '17 13:09 vandanpathak-gep

@vandanpathak, yes, the same data will be sent multiple times. I don't know how would it look like on the New Relic side. I would recommend to install it on a single node.

s12v avatar Sep 08 '17 13:09 s12v

Ok. Why i am installing on three because if the Node in which plugin is installed goes down then data coming to newrelic will get stop so have asked.

vandanpathak-gep avatar Sep 08 '17 13:09 vandanpathak-gep

@vandanpathak, yes, I understand. Well, maybe try to run it on all instances, it doesn't send so much data.

s12v avatar Sep 08 '17 13:09 s12v

We run it on all instances in a cluster @vandanpathak

joshbranham avatar Oct 31 '17 19:10 joshbranham