12-04-2024 05:34 AM
Hi, have a successful connection of FMC with eStreamer and can see syslog in Sentinel. However see this error against the DCR rule int Sentinel. Even though the DCR rule is created does this mean no events in CEF format reaching Sentinel?
FMC is on version 7.4.1.1
Redhat Linux 9 Ent
Python 3
Solved! Go to Solution.
02-06-2025 04:47 AM
You need to exclude the logs from being saved locally on the Linux box. You need to edit the/etc/rsyslog.d/50-default.conf file so that will not save the logs locally based on facilities. It depends if you are using rsyslog or syslog-ng
rsyslog example:
*.*;local4.none;auth,authpriv.none -/var/log/syslog
That means that logs with facility local4 will not be saved locally.
03-07-2025 02:10 AM
02-03-2025 12:05 AM
It depends on how you configured the DCR rule. What Sentinel Connector are you using? You can create the DCR rule directly from the CEF AMA connector.
How do you see syslog events in Sentinel if you are trying to use CEF format?
02-04-2025 06:59 AM
Thanks Adrian. Seems things were all working. In the end I had to delete dormant syslog connectors in Sentinel and restart the ./encore.sh service on the Linux box and hey presto. Challenge I ahve now is the logs filling up space on /dev/mapper/rootvg-varlv. Filled up 15G very quick
02-06-2025 04:47 AM
You need to exclude the logs from being saved locally on the Linux box. You need to edit the/etc/rsyslog.d/50-default.conf file so that will not save the logs locally based on facilities. It depends if you are using rsyslog or syslog-ng
rsyslog example:
*.*;local4.none;auth,authpriv.none -/var/log/syslog
That means that logs with facility local4 will not be saved locally.
02-19-2025 07:31 AM
Been working fine for a week or so. Filed up the disk space. Now not working....
checking listening ports - sudo lsof -nP -iTCP -sTCP:LISTEN
Second topic is Cisco FMC parsing events from 20 Cisco FTD's - any idea's on disk size and entries in rsyslog.conf & DCR. DCR shown below.
thanks
02-06-2025 05:50 AM
Thanks Adrian!
02-19-2025 07:29 AM
Been working fine for a week or so. Filed up the disk space. Now not working....
checking listening ports - sudo lsof -nP -iTCP -sTCP:LISTEN
Second topic is Cisco FMC parsing events from 20 Cisco FTD's - any idea's on disk size and entries in rsyslog.conf & DCR. DCR shown below.
thanks
03-05-2025 04:29 AM
You don' actually need disk size on the server since you don't want to keep the logs locally, you should be forwarding them to Sentinel.
Can you check the settings in /etc/rsyslog.cof ?
for CEF logs you also need to try enabling the option "Collect messages without PRI header" in the DCR, to make sure that CEF message without facility are sent to Sentinel.
Also you have you checked estreamer for any errors?
03-05-2025 07:30 AM
Hey Adrian, /etc/Rsyslog.conf below
# Where to place auxiliary files
global(workDirectory="/var/lib/rsyslog")
# Use default timestamp format
module(load="builtin:omfile" Template="RSYSLOG_TraditionalFileFormat")
#### MODULES ####
module(load="imuxsock" # provides support for local system logging (e.g. via logger command)
SysSock.Use="off") # Turn off message reception via local log socket;
# local messages are retrieved through imjournal now.
module(load="imjournal" # provides access to the systemd journal
UsePid="system" # PID nummber is retrieved as the ID of the process the journal entry originates from
FileCreateMode="0644" # Set the access permissions for the state file
StateFile="imjournal.state") # File to store the position in the journal
#module(load="imklog") # reads kernel messages (the same are read from journald)
#module(load="immark") # provides --MARK-- message capability
# Include all config files in /etc/rsyslog.d/
include(file="/etc/rsyslog.d/*.conf" mode="optional")
# Provides UDP syslog reception
# for parameters see http://www.rsyslog.com/doc/imudp.html
module(load="imudp")
##needs to be done just once
input(type="imudp" port="514")
# Provides TCP syslog reception
# for parameters see http://www.rsyslog.com/doc/imtcp.html
module(load="imtcp")
##needs to be done just once
input(type="imtcp" port="514")
#### RULES ####
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg :omusrmsg:*
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
# reduce logs saved on this local host - ADDED17FEB2025
*.*;local4.none;auth,authpriv.none /var/log/syslog
CEF test script + ./encore.sh test
03-05-2025 11:12 PM
What is your disk space usage on the server?
Do run a tcpdump:
tcpdump -Z root -i lo "port 514"
tcpdump -Z root -i lo "port 28330"
03-06-2025 12:18 AM
03-06-2025 12:19 AM
Forgot disk space output
03-07-2025 02:10 AM
In your DCR configuration include LOG_USER: LOG_NOTICE
03-12-2025 02:30 AM
Any idea's on how to filter out Log Severity 3 - things like routing information etc; either via DCR on conf on the Estreamer box itself?
03-12-2025 10:45 PM
What kind of logs are you getting?
Estreamer will only forward Inspection, connection, Malware and File events.
You need to remove from DCR Local 6 and Local 7
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide