Import Syslog reciever on CPPM via XML file

Aruba Employee

This article contains steps for creating and importing a XML file containing information about Syslog servers to CPPM and configuring the syslogs which would be forwarded to Syslog server.

 

Environment : This Article is written  for CPPM 6.2.0 and greater.

 

How to add an external Syslog reciever to CPPM?

Navigate to "Administration » External Servers » Syslog Targets" and click on "Add Syslog Target"to add a new host.

Provide the details and Save.

 

rtaImage.jpg

We can also import a XML file to add a list of Syslog Targets.

Sample XML file is as below.


--------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
  <TipsHeader exportTime="Tue Sep 10 20:00:55 IST 2013" version="6.2"/>
  <SyslogTargets>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.116"/>
  </SyslogTargets>
</TipsContents>


-------------------------------

How can we download a sample XML file?

After adding a Syslog targer, we can do an export of it as below.

 

rtaImage (1).jpg

It will download a  file with the sample code.

We can create a similar XML file with with details of multiple Syslog targets.


--------------------------

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
  <TipsHeader exportTime="Tue Sep 10 20:00:55 IST 2013" version="6.2"/>
  <SyslogTargets>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.117"/>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.118"/>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.118"/>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.119"/>
    <SyslogTarget protocol="UDP" port="514" description="" hostAddress="10.30.156.120"/>
  </SyslogTargets>
</TipsContents>


----------------------------

We can copy the highlighted lines with different IP address and save the file.

Once the XML file is ready,

Navigate to "Administration » External Servers » Syslog Targets" and click on "Import Syslog Target"

and browse to the XML file which is created.

 

rtaImage (2).jpg

Once we hit "Import", we would see list if Syslog targets which we added.

 

rtaImage (3).jpg

How to create filters for Syslogs to be forwarded to the Syslog targets?

Navigate to "Administration » External Servers » Syslog Export Filters » Add"

We can set the filters on this screen.

 

rtaImage.png

 

Customize the filters based on requirements.

We can also forward the debug logs to the Syslog server.

Navigate to "Administration » Server Manager » Log Configuration".

 

rtaImage (4).jpg

 

We can add the IP of the syslog server and enable the specific logs and the filter levels to be forwarded to the syslog server.

Version history
Revision #:
1 of 1
Last update:
‎08-06-2014 07:37 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: