06-15-2011
Version?
http://www.balabit.com/sites/default...tml#filterfunc
Match a regular expression to the headers and the message itself (i.e., the values returned by the
MSGHDR and
MSG macros). Note that
in syslog-ng version 2.1 and earlier, the match() filter was applied only to the text of the message, excluding the headers. This functionality has been moved to the
message() filter. To limit the scope of the match to a specific part of the message (identified with a macro), use the
match(regexp value("MACRO")) syntax. Do not include the $ sign in the parameter of the
value() option.
Last edited by DGPickett; 06-15-2011 at 05:07 PM..
9 More Discussions You Might Find Interesting
1. Programming
Im creating a sort of shell, for my cybercafe
This will restrict my clients from accessing unwanted materials
so im programming a similar bash to
1. to meet my goals
2. to learn new things.
im creating it in C,
please have a look at the attachement.
i wish to avoid having a blank space... (6 Replies)
Discussion started by: C|[anti-trust]
6 Replies
2. Shell Programming and Scripting
Hi All,
I have problem with my script
grep error /var/adm/message* | grep $1 $2 > /tmp/error-adm$1$2
actually, i want to make the admin enter specific date like "Mar 10"
how i can do that
Thank you
Ahmad (1 Reply)
Discussion started by: ahmad_one
1 Replies
3. What is on Your Mind?
i'm trying to learn unix and i posted a question and what i was typing from school. i can't figure it out. how am i supposed to learn , when i get shutdown by an admin. for posting a homework question. doesn't make any sense. its a dumb rule. thanks for helping (4 Replies)
Discussion started by: AtomJ22
4 Replies
4. UNIX and Linux Applications
I am trying to query a list of hosts and extract all entries which 'dont' match.
SELECT LOGS.host, GOODLIST.host FROM LOGS,db.GOODLIST WHERE (LOGS.host <> GOODLIST.host)When I use this query, it is very very slow. Matching the host with the GOODLIST.host works great and fast but when I use <>... (1 Reply)
Discussion started by: hazno
1 Replies
5. Shell Programming and Scripting
okthanksi solve it :) (1 Reply)
Discussion started by: dream23
1 Replies
6. Shell Programming and Scripting
hello, i am trying to put users2 information to file appraisalrecord, however it is not working and i tried everything. overall, i just want to show that when they enter the user number it will verify in the file to see does that user number exist, if yes they have to a new user number if no they... (7 Replies)
Discussion started by: bassmasta1
7 Replies
7. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
Discussion started by: manigrover
1 Replies
8. Shell Programming and Scripting
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as (7 Replies)
Discussion started by: manigrover
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
LEARN ABOUT SUNOS
picld_log
picld_log(3PICLTREE) PICL Plug-In Library Functions picld_log(3PICLTREE)
NAME
picld_log - log a message in system log
SYNOPSIS
cc [flag ...] file ... -lpicltree [library ...]
#include <picltree.h>
void picld_log(const char *msg);
DESCRIPTION
The picld_log() function logs the message specified in msg to the system log file using syslog(3C). This function is used by the PICL dae-
mon and the plug-in modules to log messages to inform users of any error or warning conditions.
RETURN VALUES
This function does not return a value.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
syslog(3C), attributes(5)
SunOS 5.10 28 Mar 2000 picld_log(3PICLTREE)