QueryXML conditionally, based on what's installed on Windows server?

Hi all,

How do I divide my NxLog configuration file into conditionals based on queries? I have an nxlog.conf that doesn't apply equally to all hosts, and NxLog fails if it has to query something that doesn't exist on a Windows server.

I'd like to keep 1 nxlog.conf for all servers instead of having to maintain many confs for a variety of servers.

In psuedocode:

AskedApril 3, 2020 - 9:50pm

I get Error while using Perl with xm_perl module

I'm using nxlog and its Perl module xm_perl. I have written a Perl code with regular expressions which perfectly transforms data that I want, but when i use it with xm_perl module in nxlog, an error occurs. My nxlog looks like this:

AskedApril 1, 2020 - 9:53pm

NXlog is not connecting to ElasticSearch server

I am configuring the NXLog to Elastic Search Server using om_elasticserch, but it doesnt connect

Here is the nxlog.conf file:

User root
Group system
Panic Soft

# default values:
PidFile /opt/nxlog/var/run/nxlog/nxlog.pid
CacheDir /opt/nxlog/var/spool/nxlog
# ModuleDir /opt/nxlog/lib/nxlog/modules
ModuleDir /opt/nxlog/libexec/nxlog/modules
SpoolDir /opt/nxlog/var/spool/nxlog

AskedMarch 31, 2020 - 4:05pm

Hiding/Masking Confidential Information in Logs


Can NXLog be configured to automatically hide confidential information (PII) like credit card numbers, social security numbers, etc?

I thought you could maybe use Regex but thought there might be a better way (like a module) since this is a pretty common thing to do.

Thanks in advance!!

AskedMarch 30, 2020 - 10:04pm