You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Rsyslog_Server" />
  </query-continue>
  <query>
    <pages>
      <page pageid="57" ns="0" title="Rsyslog">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">PARENT PAGE LINK: [[Syslog]]


=== Docs ===
http://www.rsyslog.com/guides-for-rsyslog/

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Viewing_and_Managing_Log_Files.html (7.4.x)&lt;br&gt;
http://www.rsyslog.com/doc/v7-stable/

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Viewing_and_Managing_Log_Files.html (5.8.x)&lt;br&gt;
http://www.rsyslog.com/doc/v5-stable/

=== Logfile Format ===
Older Rsyslog versions were not logging in a traditional syslog format, and fields like time &amp; date were not human-readble. To modify its behaviour and make the logs more decipherable, we would add or uncomment the following line (this may be the default on newer Rsyslog versions, but has not been verified)
 # Use traditional timestamp format
 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat</rev>
        </revisions>
      </page>
      <page pageid="54" ns="0" title="Rsyslog Client">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">PARENT PAGE LINK: [[Syslog]]


1. See generic [[Rsyslog]] page for other config options

2. /etc/rsyslog.conf, add @sys.log.server.ip lines to the bottom of the file (optionally add logging rules, example lines are commented out at the bottom of a default rsyslog.conf file)
 UDP:
 # centralized logging
 *.* @172.160.135.160:514
 OR TCP:
 # centralized logging
 *.* @@172.160.135.160:514

3. Restart rsyslog service
 ENT 7
 # systemctl restart rsyslog
 BEFORE Ent 7
 # service rsyslog restart</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>