Commit fails with "Validation Error: panorama -> log-settings -> hipmatch unexpected here" after switching mode from legacy to Panorama mode
3730
Created On 03/08/23 00:03 AM - Last Modified 07/24/24 21:14 PM
Symptom
- Panorama VM changed from legacy mode to Panorama mode,
- The following Commit fails with error below:
Can't commit changes to Panorama.
Validation Error
panorama -> log-settings -> hipmatch unexpected here
panorama -> log-settings is invalid
Environment
- VM Panorama in Panorama mode.
- Supported PAN-OS
Cause
- Validation fails with the above error message because hipmatch is no longer a configuration option under Panorama > Log Settings once you have migrated to Panorama mode.
- The previous configuration was not removed from the XML config file causing the validation error because it could not find the previous location.
Resolution
- Export Candidate configuration from GUI: Panorama > Setup > Operations > Export named Panorama Configuration snapshot and save the file to your machine.
- Use Notepad++ or XML editor to edit the exported candidate configuration and remove the below entries that are highlighted.
<config>
<shared>
<log-settings>
<hipmatch>
<match-list>
<entry name="TEST">
<filter>All Logs</filter>
</entry>
</match-list>
</hipmatch>
</log-settings>
</shared>
</config>
- From Panorama GUI: Device > Setup > operations, Import then load your custom Panorama candidate-config.
- Validate/Commit any changes and commit will be successful.