Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.

Shorten substring of a field
Hello, I am trying to shorten a part of my raw_field which is way too long : Host_Application="..." to only keep like 50 characters. And I noticed that NXlog is using PCRE syntax for finding a string in a field, but not for the substitution where it uses classic regex. I tried different things: Substitute with a regex the part I want but I can't, since it replaces everything I write in the regex. Find the exact string I want to replace with my PCRE rexgex, and then try to substitute it but I can't use the $1 field as the source string to modify. I would like to know if there is any way of doing what I want. Malauran

Malauran created
Replies: 1
View post »
last updated
ERROR failed to subscribe to msvistalog events using bookmark: Access is denied.
Hi, Having this error below ..any ideas how to resolved ? Thanks INFO nxlog-ce-2.11.2190 started ERROR failed to subscribe to msvistalog events using bookmark: Access is denied. ERROR failed to subscribe to msvistalog events,access denied [error code: 5]; Access is denied. WARNING stopping nxlog service WARNING nxlog-ce received a termination request signal, exiting... WARNING not starting unused module dns INFO nxlog-ce-2.11.2190 started ERROR failed to subscribe to msvistalog events using bookmark: Access is denied. ERROR failed to subscribe to msvistalog events,access denied [error code: 5]; Access is denied.

Mcoll created
Replies: 1
View post »
last updated
Using NXlog to send application logs from multiple files within a folder to RSA
Hi All, We have configured Nxlog to send application logs to RSA Virtual log collector. We are able to send one logfile using the below configurations in nxlog.conf <Input AppLogs> Module im_file File 'C:\Important_Application\Logs\log1.log' SavePos FALSE Recursive TRUE ReadFromLast FALSE Exec $Message = $raw_event; </Input> <Output out2> Module om_tcp Host "0.0.0.0" Port 514 </Output> <Route 2> Path AppLogs => out2 </Route> However, we are unable to send all the log files within the Logs directory. We tried the below methods: <Input AppLogs> Module im_file File 'C:\Important_Application\Logs*.log' or 'C:\Important_Application\Logs*.log' or 'C:\Important_Application\Logs' or 'C:\Important_Application\Logs*' SavePos FALSE Recursive TRUE ReadFromLast FALSE Exec $Message = $raw_event; </Input> But none of the above methods are workings. We need to send all the log files within the "Logs" folder. Please help.

anusha_rampure created
Replies: 1
View post »
last updated
Error xm_python nxlog ce 302272
I get an error in this module but the xm_python.dll is available and 35kb ERROR Failed to load module from C:\nxlog\modules\extension\xm_python.dll thanks

rizakara created
Replies: 1
View post »
last updated
How to filter Windows Server event by level
Hi, I install NXLog Enterprise Edition v5 trial And try to filter out events before send to SIEM. I can get some events and see SIEM side. But when I create fake event , cannot see all. What I want? I want to forward Windows server APP, SEC ve SYS logs that have only WARNING,ERROR and CRITICAL levels in CEF format Is that config part correct? <Extension _syslog> Module xm_syslog </Extension> <Extension _cef> Module xm_cef </Extension> <Input in_jornal> Module im_msvistalog # For windows 2003 and earlier use the following: # Module im_mseventlog # Channel Security <QueryXML> <QueryList> <Query Id='0'> <Select Path='Application'> *[System/Level&lt;4] </Select> <Select Path='Security'> *[System/Level&lt;4] </Select> <Select Path='System'> *[System/Level&lt;4] </Select> </Query> </QueryList> </QueryXML>

tevfikceydeliler created
Replies: 2
View post »
last updated
Need code snippet or reference url to silently install nxlog agent
Hello Techies, Can someone please help me below query? How to execute windows MSI installer to silently install nxlog agent(nxlog-ce-3.0.2272.msi) using a PowerShell script. Any code snippet or reference url will be very helpful to refer from. Thanks in advance Anil Kr

anilbqkumar created
Replies: 1
View post »
last updated
Need help ingesting logs from two different sources
I've been trying to figure out the best way to ingest logs from 2 different data streams and have them go to separate log files. Heres the copy of my configuration. For my first input i have a bunch of firewall logs coming in to /syslog/firewalls.log. I now want to ingest syslog data from my isilon to a different log file. It only seems to work if I have host 0.0.0.0 setup. I'm getting the data but everything is being written to firewalls.log and not my isilon.log Any help would be greatly appreciated. <Extension _syslog> Module xm_syslog </Extension> <Extension _json> Module xm_json </Extension> <Input udp1> Module im_udp Host 0.0.0.0 Port 514 Exec parse_syslog(); </Input> <Output fwlog> Module om_file File "/syslog/firewalls.log" Exec to_json(); </Output> <Input udp2> Module im_udp Host 0.0.0.0 Port 514 InputType Syslog_TLS Exec parse_syslog(); </Input> <Output isilog> Module om_file File "/syslog/isilon.log" Exec to_json(); </Output> ######################################## # Routes # ######################################## <Route udp_to_file1> Path udp1 => fwlog </Route> <Route udp_to_file2> Path udp2 => isilog </Route>

aleblanc75 created
Replies: 1
View post »
last updated
Does version nxlog ce 3.0.2272 support python ? om_python , im_python ,om_python
https://docs.nxlog.co/ce/current/index.html#om_python The document has usage information. is not it right ? or is it only for linux ? https://gitlab.com/nxlog-public/nxlog-ce/-/blob/master/ChangeLog.txt 2021-12-13 3.0.2272 [2268] added python language integration modules [2639] added Raijin output module - om_raijin Thanks

rizakara created
ElasticSearch 8.0
Have you ever tested om_elasticsearch module with the 8th ElasticSearch version? I have no error log in nxlog.log, but no index or data are available in ES instance. I used the trial version 5.4 with ElasticSearch 8.0.

cm created
32bit/x86 NXLog-CE for Windows
Hi. Tell me where I can download the 32-bit version of CE for Windows?

travsontor created
NxLog silent installation
Hi Folks, We are from a reputed service based company, We have recently tested NXLog. We are planning to deploy it more than 500 production server. We want to automate deployment process. We have below queries. Is the windows setup (nxlog-ce-3.0.2272.msi) supports silent installation? Can it be installed using a PowerShell script without manual intervention? Note- If NxLog serves our purpose with better performance then we will go for enterprise edition. Thanks Anil

anilbqkumar created
Replies: 1
View post »
last updated
Add additional Windows Event Log Sources
Hi everyone I'm very new to this and have searched around but couldn't find anything obvious. I have a few Pc's with NXLog Community Edition sending data to a Loggly instance, event log data They are picking up Security and System and Application ogs out of the box it seems, but i'm wondering if i need to do anything to add other event log sources to have them sent to Loggly? Is it a matter of adding something to the Conf file? For example, I have Kaspersky AV on an endpoint and i want to pick up the specific Event Log where Kaspersky sits. Am i explaining it right? I basically want to add other event Log types into the process of log sending Mark

markdavidboyd created
Replies: 1
View post »
last updated
NXLOG Community Edition - SSL Certificate Usage requirements
Hello, I am in the process of setting up NXLOG to capture syslog messages via TLS, but I have issues with the TLS connection, specifically: ERROR SSL certificate verification failed: unsupported certificate purpose (err: 26) Certificate for NXLOG was issued with the following: OID=1.3.6.1.5.5.7.3.2; Client authentication OID=1.3.6.1.5.5.7.3.1; Server authentication Is there any documentation on how to request certificates for NXLOG? I do not have NXLOG manager. Cheers

istoikov created
Configuring om_ssl - CertThumbprint on a large number of devices
Hello, I am evaluating the om_ssl (GELF) module of nxlog EE agent for a large number of devices with TLS authentication of the devices enabled at Graylog. We already have the certificates in the Windows certificate manager on the devices which we would use for the nxlog agent as well. The certificates are rotated frequently, and thus nxlog.conf needs to be kept up to date (with the thumbprints) and due to the large number of devices we cannot create and update the configuration files by hand. What is the best practice to populate nxlog.conf with the required certificate thumbprints from the certificate store on each device and keep the configuration up to date? Thank you!

atisu created
Multiple hostnames for single IP address
I have installed NX Log agent on a windows machine, but NX Log Manager is showing multiple hostnames for a single IP address, and because of this there are multiple Agents showing now, and none of them is working.

soc.techdlabs created
Two agents on a single windows machine.
Hi, Is it possible to install two Nxlog agents on a single machine and governed by two respective NxLog managers? Regards.

JBS created
Replies: 1
View post »
last updated
Usage of TLS protocol in CE
NXLOG version: NXLog CE 3.0.2272 OS version: Windows 2019 server \ Windows 10 for client Issue: I inspect the communication between NXLog client and server via Wireshark. Client output module is om_ssl and server input module is im_ssl. I've been expecting to see the usage of TLS protocol, but all I see is TCP and RSH protocols, which are non secure protocols. How can this be explained? Client config: <Output out_ssl> Module om_ssl Host <host_ip> Port 514 OutputType Binary AllowUntrusted TRUE </Output> Server config: <Input in_ssl> Module im_ssl Host 0.0.0.0 Port 514 InputType Binary CAFile <CA path> CertFile <Certificate path> CertKeyFile <private key path> KeyPass <key password> AllowUntrusted TRUE RequireCert FALSE </Input> Wireshark is tracking 514 port on the server. Thanks!

LaniMils created
Restrict sending Windows logs to Graylog
Dear Friends How can I restrict sending records from windows? For example: From Eventviewer, I want to select only id "5145" regarding deleting files and folders... For I am receiving a very large amount of messages that I do not need. I ask for your help. Thank you.

romuloforato created
Replies: 1
View post »
last updated
MS SQL SavePos is not used
Hello, I send data from MS SQL to SysLog, i use im_dbi+freetds and even if i have set SavePos it always starts from the beginning at startup. After starting the service 2022-02-15 11:19:32 DEBUG im_dbi sql: SELECT * FROM *** WHERE id > -1 When it is already running, the id is used. 2022-02-15 11:19:35 DEBUG im_dbi sql: SELECT * FROM *** WHERE id > 116407 -rw-r--r-- 1 nxlog nxlog 64 Feb 15 11:20 configcache.dat OS: Ubuntu 20.04, last NXLog CE 3.0.2272 <Input sql_send> Module im_dbi SavePos TRUE PollInterval 10 Driver freetds Option host *** Option username *** Option password *** Option dbname *** SQL SELECT * FROM *** </Input>

Robert000 created
file_name() returns unknown in im_file in Windows
NXLOG version: NXLog CE 3.0.2272 OS version: Windows 2019 server Issue: file_name() returns "unknown" in im_file module Config: <Input in_AppABC> Module im_file <Exec> log_info('Filename is' + file_name()); </Exec> File "C:\logs\AppABC.log" </Input>

mitchfloresswi created
Replies: 3
View post »
last updated