Add Custom Agent Tags in the Configuration File
To add custom agent tags, add the new tag entries in the config.json file.
- Log in to your Windows host machine as administrator.
- Navigate to the
C:\ProgramData\Laceworkfolder and open the config.json file in a text editor. - Use the
tagsproperty to add your custom agent tags to the config.json file as shown below. If you have previously edited your config.json, you may see more lines than indicated below.
{
"tokens": {
"accesstoken": "Your_Access_Token"
},
"serverurl": "Your_API_Endpoint",
"tags": {
"test_01": "Value_01",
"test_02": "Value_02"
}
}
- Save the
config.jsonfile. - Restart the Windows agent to enable the configuration file changes. For instructions, see Restart Windows Agent.