Is it possible to use Windows Environment Variables in the config file.
eg. service_name=Servicename_%Hostname%
Thx
Is it possible to use Windows Environment Variables in the config file.
eg. service_name=Servicename_%Hostname%
Thx
Are you referring to the APM Server config file or one of the agents?
Agent properties File.
Which agent are you using?
Java Agent 1.6.1
Not in the config file, as it will be read and parsed as a string.
For that you will need to set this configuration via environment variable or system property.
Hi @Eyal_Koren! Thanks for the answer. So I can set some of my settings in the config file and some others via environment variable or system property?
Then I will set only this one via env and hope it works
Thx
Yes, that should work. Did it work for you?
@felixbarny I didn't try it now, but when I have Time, maybe next week or so, i will try it.
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.