Skip to main content

Add Custom Agent Tags in the Configuration File

To add custom agent tags, add the new tag entries in the config.json file.

  1. Log in to your Windows host machine as administrator.
  2. Navigate to the C:\ProgramData\Lacework folder and open the config.json file in a text editor.
  3. Use the tags property 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"
}
}
  1. Save the config.json file.
  2. Restart the Windows agent to enable the configuration file changes. For instructions, see Restart Windows Agent.