Comments (6)
"system" should be a class ID as specified in the Syslog-NG template as
${.classifier.class}. Have you modified the syslog-ng.conf that ships with
ELSA at all? Also, is this a log from the local box? There may be a change in
syslog-ng 3.3.5, as the ELSA install should be installing 3.2.4.
Original comment by [email protected]
on 14 May 2012 at 1:31
from enterprise-log-search-and-archive.
Hi
Haven't changed the syslog-ng.conf and the template seems to be applied.
The log line is from a remote host
Also, is syslog-ng version affecting this stage of the processing?
\
thanks,
Original comment by [email protected]
on 14 May 2012 at 1:52
from enterprise-log-search-and-archive.
Looking through the source, this appears to happen when a pattern matches but
the class is not defined. When a rule doesn't match, the class is set to
"unknown" and the elsa.pl script changes that to the class_id 1. One remedy
would be to make this true for "system" as well, but since this shouldn't
occur, there must be something else going on. Can you test this like this:
/usr/local/syslog-ng/bin/pdbtool match -p
/usr/local/elsa/node/conf/patterndb.xml -P sshd -M "Failed password for root
from 172.16.1.2 port 51058 ssh2"
You should get this back:
MESSAGE=Failed password for root from 172.16.1.2 port 51058 ssh2
PROGRAM=sshd
.classifier.class=12
.classifier.rule_id=12
i0=51058
s0=password
s1=root
s2=172.16.1.2
s3=ssh2
TAGS=.classifier.12
Original comment by [email protected]
on 14 May 2012 at 4:54
from enterprise-log-search-and-archive.
I run the pdbtool :
./pdbtool match -p /srv/syslogdata/syslog-ng/var/patterndb.xml -P sshd -M
"Failed password for root from 172.16.1.2 port 51058 ssh2"
The output is:
MESSAGE=Failed password for root from 172.16.1.2 port 51058 ssh2
PROGRAM=sshd
.classifier.class=system
.classifier.rule_id=aecda233-3d80-48cd-a72b-4896f58069c8
usracct.username=root
usracct.device=172.16.1.2
usracct.authmethod=password
usracct.service=ssh2
usracct.type=login
usracct.sessionid=
usracct.application=sshd
secevt.verdict=REJECT
TAGS=.classifier.system,usracct,secevt
Can there be an issue with my patterndb.xml file, not delegating variables to
i0,s0...etc?
Original comment by [email protected]
on 15 May 2012 at 10:13
from enterprise-log-search-and-archive.
Ok, it appears you've got some of the shipped Balabit patterndb patterns
somewhere, as this is a rule not provided by ELSA. Check your syslog-ng.conf
file for what pattern files and directories are being loaded, and in one of
those files and disable any that aren't /usr/local/elsa/node/conf/patterndb.xml.
Original comment by [email protected]
on 15 May 2012 at 1:25
from enterprise-log-search-and-archive.
Closing until I hear back regarding location of patterndb.xml.
Original comment by [email protected]
on 31 May 2012 at 2:43
- Changed state: Done
from enterprise-log-search-and-archive.
Related Issues (20)
- Internal Server Error [500] with Dashboard
- line "1node(s) with ... logs..." doesn't update and offline dahsboards HOT 1
- node update failure HOT 5
- Parsing is not successful on the web interface HOT 1
- Installer fails on FreeBSD - can provide a patch unless the project is inactive
- Unable to open elsa dash board from Apache HOT 3
- distribution packaging
- lumberjack support
- Question about UNIQUE KEY for "fields" table
- Log Size Limit Problem HOT 1
- Parser for BIND queries not classifying/parsing data from udp(); or log file (custom class and fields)
- The date of the "From" field is locked in a day and not advance. HOT 1
- Trouble installing ELSA correctly HOT 1
- Email Alerts not working - Send to connector opens about:blank window containing log data
- Unable to view stats HOT 1
- Results options after search not working
- Query Log not working
- has Transform is Broken
- Missing Archive. Index not buffering
- Include_data doesnt include data on email
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enterprise-log-search-and-archive.