Tags & Attributes
You can send tags and attributes through the Windows Agent by updating files in from the /CollectedWin/config
folder.
Sending Tags
Navigate to the
/CollectdWin/config/ReadWindowsTags.config
file.Update the
<Tags>
section.Tag Name ="tag1”: replace
tag1
with the static key for this tag.Value="value1”: replace
value1
with the host’s tag value.
Save your file.
Sending Attributes
Navigate to the
/CollectdWim/config/ReadWindowsAttributes.config
file.Update the
<EnvironmentVariables>
section.
Attribute Example
<ReadWindowsAttributes ReadEC2InstanceMetadata="true">
<EnvironmentVariables>
<EnvironmentVariable Name="processor_architecture" Value="PROCESSOR_ARCHITECTURE"/>
<EnvironmentVariable Name="number_of_processors" Value="NUMBER_OF_PROCESSORS"/>
</EnvironmentVariables>
</ReadWindowsAttributes>
Tip
You must choose an environment variable listed by the host when running set
from the command prompt, e.g. PROCESSOR_ARCHITECTURE:
