Symptom
ncorrect documentation for auto-collect in 10.x releases.
Current documentation (below) is valid only prior 10.x release (9.3.x)
To enable trigger-based automatic creation of log files, you must create an override policy for the __syslog_trigger_default system policy with a custom YAML file and define the specific logs for which information will be collected.
For more information on creating a custom YAML file to enable log file auto-collection, see Configuring the Auto-Collection YAML File.
Corrected documentation for 10.2.x release:
EEM policy for auto-collect "__syslog_trigger_default " is enable by default. Components that have enabled autocollection for syslog 0,1,2 have created yaml file in directiory bootflash:scripts/default-autocollect
To enable auto-collect for specific component it is necessary to define yaml file in directory scripts/default-autocollect with name structutre component-name.yaml (example bgp.yaml)
Conditions
Documentation issue related to logger and auto-collect feature