Commit fails with "Validation Error: panorama -> log-settings -> hipmatch unexpected here" after switching mode from legacy to Panorama mode

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


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


  1. Export Candidate configuration from GUI: Panorama > Setup > Operations > Export named Panorama Configuration snapshot and save the file to your machine.
  2. 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>
  1. From Panorama GUI: Device > Setup > operations, Import then load your custom Panorama candidate-config.
  2. Validate/Commit any changes and commit will be successful.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sb1xCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language