Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Kiwi Syslog Server > Filter text containing double quotes in Kiwi Syslog

Filter text containing double quotes in Kiwi Syslog

Table of contents

Updated April 22th, 2016

Overview

This article provides information regarding filtering a Kiwi Syslog message containing double quotes. For example:

message number="234"

Environment

All Kiwi Syslog versions

Detail

As the text based filters use double quotes in order to identify the required text in a syslog message it is not possible to use the double quotes inside the message text in a simple or complex filter.

 

To overcome this, it is necessary to use a regular expression filter with the exclude symbol (" \ ") in combination with the ASCII character set hexadecimal value.

 

In order to filter on the example above:

"message number=\x22234\x22"

The \x22 is the escape sequence for the double quote symbol, x indicates the ASCII hexadecimal code ".

 

To obtain other ASCII values, see http://www.ascii-code.com/ for a complete listing of the hexadecimal values for each of the ASCII characters.

 


Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

 

 

Last modified

Tags

Classifications

Public