How does Sumo Logic determine how to name a collector. I am seeing an IP address instead of the computer name with my installations
1. The Collector will attempt to map the IP to a hostname, and will then use that hostname as the name of the Collector. If no hostname value is returned then the Collector will fall back to the default value of "Collector."
- Refer to this KB article about troubleshooting hostname lookup.
couldn't derive collector name from hostname
Test the DNS on the host running the collector application using the following command(s).
ping <hostname>
nslookup <hostname>
dig @<nameserver> <hostname>If no hostname is returned with any of these commands you may need to update your host configuration file to include the proper hostname. You can also manually supply the Collector name as part of the sumo.conf configuration file to work around this issue.
2. You can also explicitly set the collector name in user.properties. Note this only works if a collector has not yet been registered. Updating this after registration will have no effect
3. Using the command-line install can also be used, here is an example with the -Vcollector.name flag
sudo ./SumoCollector.sh -q -Vsumo.accessid=<accessId> -Vsumo.accesskey=<accessKey> -VsyncSources=<filepath> -Vcollector.name=<name>
- If installing another collector with an explicit collector name, which already exists in the system, then the current timestamp epoch is suffixed after the collector name. The KB for this can be found here.
4. You can edit the collector name from the Sumo Logic UI. By going to the going to the Collection Tab search for the collector you want to change then Edit.
Comments
0 comments
Please sign in to leave a comment.