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
Hi,
Is it possible to install two Nxlog agents on a single machine and governed by two respective NxLog managers?
Regards.
JBS created
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
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
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
mitchfloresswi created
vm_grrl created
Hi everyone
After the update of the Nxlog community to the last version(3.0.2272) the consumption of CPU had a huge increase. The configuration basic work over the im_file module.
<Input fake>
Module im_file
File "C:\fakedir\logs\fake_file*"
SavePos TRUE
Exec if $raw_event =~ /^#/ drop();
else
{
w3c->parse_csv();
$EventTime = parsedate($date + " " + $time);
$Message = to_json();
}
</Input>
Is there someone that had the same issue with this version?
ortega87 created
Hi team, i use the FIM module to monitor a test file and output it to 2 destination: local file and remote logstash with tcp.
Now I could see the log in local file, but remote logstash fails to parse the log with json. After checking the log, i figure out that the log received by logstash is different:
Local: {"EventTime":"2022-02-13T16:11:50.094508+08:00","EventType":"CHANGE","Object":"FILE","PrevFileName":"c:\users\test\desktop\test20220211.txt","PrevModificationTime":"2022-02-11T19:18:59.925713+08:00","FileName":"c:\users\test\desktop\test20220211.txt","ModificationTime":"2022-02-13T16:10:53.402144+08:00","PrevFileSize":6,"FileSize":10,"DigestName":"SHA1","Digest":"31ca8d2ae67b53db43d3581974d12a48c648eca5","PrevDigest":"1b1e2aa8fb50e43dd20429afdbbec1b81b153853","Severity":"WARNING","SeverityValue":3,"EventReceivedTime":"2022-02-13T16:11:50.094508+08:00","SourceModuleName":"fim","SourceModuleType":"im_fim"}
Logstash: [2022-02-13T08:11:49,919][ERROR][logstash.codecs.json ][main][2869f035623bc8e694e78ee6b779cd6214f6eba705fdae0bea0b55fadc035072] JSON parse error, original data now in message field {:message=>"Unexpected character ('-' (code 45)): Expected space separating root-level values\n at [Source: (String)"2022-02-13 16:11:50 HKLAP0240 WARNING EventType="CHANGE" Object="FILE" PrevFileName="c:\\users\\test\\desktop\\test20220211.txt" PrevModificationTime="2022-02-11 19:18:59" FileName="c:\\users\\test\\desktop\\test20220211.txt" ModificationTime="2022-02-13 16:10:53" PrevFileSize="6" FileSize="10" DigestName="SHA1" Digest="31ca8d2ae67b53db43d3581974d12a48c648eca5" PrevDigest="1b1e2aa8fb50e43dd20429afdbbec1b81b153853" SeverityValue="3""; line: 1, column: 6]", :exception=>LogStash::Json::ParserError, :data=>"2022-02-13 16:11:50 HKLAP0240 WARNING EventType="CHANGE" Object="FILE" PrevFileName="c:\\users\\test\\desktop\\test20220211.txt" PrevModificationTime="2022-02-11 19:18:59" FileName="c:\\users\\test\\desktop\\test20220211.txt" ModificationTime="2022-02-13 16:10:53" PrevFileSize="6" FileSize="10" DigestName="SHA1" Digest="31ca8d2ae67b53db43d3581974d12a48c648eca5" PrevDigest="1b1e2aa8fb50e43dd20429afdbbec1b81b153853" SeverityValue="3""} { "tags" => [ [0] "jsonparsefailure" ], "message" => "2022-02-13 16:11:50 HKLAP0240 WARNING EventType="CHANGE" Object="FILE" PrevFileName="c:\\users\\test\\desktop\\test20220211.txt" PrevModificationTime="2022-02-11 19:18:59" FileName="c:\\users\\test\\desktop\\test20220211.txt" ModificationTime="2022-02-13 16:10:53" PrevFileSize="6" FileSize="10" DigestName="SHA1" Digest="31ca8d2ae67b53db43d3581974d12a48c648eca5" PrevDigest="1b1e2aa8fb50e43dd20429afdbbec1b81b153853" SeverityValue="3"", "@version" => "1", "host" => "53959da2d559", "@timestamp" => 2022-02-13T08:11:49.924Z, "path" => "/opt/nxlog/var/log/nxlog/logmessage.log", "type" => "json" }
It seems the "2022-02-13 16:11:50 HKLAP0240 WARNING " is added only in the tcp stream and could not be identified as Json format by logstash. Is it normal to see the scenario and is there any workaround? Thank you.
steven.su created
Hi guys! I'm wondering where to download nxlog community edition version 2.11. The link I have doesn't work anymore — https://nxlog.co/system/files/products/files/348/nxlog-ce-2.11.2190.tar.gz
I'm not sure whether it's ok or not for project I'm currently working on to switch to version 3 of nxlog.
Could it be possible to keep old source code archives on nxlog's website?
(I've also looked through gitlab, but unfortunately there is no version tags too...)
Ivan_Ivanovich created
mldi created
Converting events to Snare format and sending them out over TCP syslog
<Output out>
Module om_tcp
Host 192.168.1.1
Port 514
Exec to_syslog_snare();
Can someone please tell me what's the purpose of the HOST IP, by default it's set to 192.168.1.1. What exactly should it be?
Thanks
Drew.Ferguson created
gtarone created
2022-02-08 04:16:56 INFO [CORE|main] nxlog-5.4.7313-trial started on Windows 2022-02-08 04:16:56 INFO [im_odbc|reading_integer_id] im_odbc successfully connected to the database 2022-02-08 04:16:56 ERROR [im_odbc|reading_integer_id] SQLBindParameter failed, HY104:2:0:[Microsoft][ODBC SQL Server Driver]Invalid precision value (odbc error code: -1)
<Input reading_integer_id>
Module im_odbc
SavePos True
idType integer
ConnectionString Driver={SQL Server}; Server=xxxxxxxx;Database=SCSPDB;
UID=xxxxt;PWD=xxxxxx;
SQL SELECT Event_ID AS id, * FROM dbo.CSPEVENT_VW WHERE Event_ID > ?
Exec delete($id);
</Input>
Used CAST but still the same error
tothr2 created
Hello,
I have this problem on the servers of one of my clients: nxlog receives a termination signal many times a day, and it closes. Then it restarts, sometimes instantly, other times after a random amount of time. I can't identify the source of the signal, but this happens only on the servers of one of my clients. On the Windows eventviewer only show that nxlog service has stopped and then restarted. I tried updating from 2.9.1716 to 3.0.2272, but this behaviour didn't change.
This is what I see in the nxlog.log everyday: 2022-02-07 00:25:12 WARNING stopping nxlog service 2022-02-07 00:25:12 WARNING nxlog-ce received a termination request signal, exiting... 2022-02-07 00:26:12 INFO nxlog-ce-3.0.2272 started 2022-02-07 01:59:14 WARNING stopping nxlog service 2022-02-07 01:59:14 WARNING nxlog-ce received a termination request signal, exiting... 2022-02-07 02:00:14 INFO nxlog-ce-3.0.2272 started 2022-02-07 03:49:15 WARNING stopping nxlog service 2022-02-07 03:49:15 WARNING nxlog-ce received a termination request signal, exiting... 2022-02-07 03:50:16 INFO nxlog-ce-3.0.2272 started 2022-02-07 05:42:17 WARNING stopping nxlog service 2022-02-07 05:42:17 WARNING nxlog-ce received a termination request signal, exiting... 2022-02-07 05:43:17 INFO nxlog-ce-3.0.2272 started 2022-02-07 07:34:18 WARNING stopping nxlog service 2022-02-07 07:34:18 WARNING nxlog-ce received a termination request signal, exiting... 2022-02-07 09:24:20 INFO nxlog-ce-3.0.2272 started
The last time it stopped this morning, it stayed off around 2 hours. I think it's the Windows service control that restarts it, but sometimes it fails or get delayed somehow, but I can't prove it: there's nothing on the windows logs apart from the service start/stop notice.
I searched the forums and see others have this problem, but cannot find a real solution or hint on where to search.
Massimiliano created
Hi, I’m looking for the steps to configure HTTPS for NxLog Manager using a CA signed cert. The doc provided is very limited.
Please kindly advise. Thanks !
DSSLIM created
I need some help. I need the events received in the graylog, to be in the local date/time here in Sao Paulo_Brazil. In the moment, is showed of the Africa timezone...
romuloforato created
Dear All,
Has anyone else found issues with the latest Nxlog V3.0.22 in terms of memory. I upgraded a test system on a client and it was usng spiking up to 40% of CPU whereease 2.10 did not do this.
Also, is it possible to download 2.11.90 as the download link appears to have been removed. I even found this issue on Gitlab https://gitlab.com/nxlog-public/nxlog-ce/-/issues/17, however the link does not work.
Does anyone know if there is a repository of releases?
Cheers
Cyberkryption
cyberkryptoin created
farrisk01 created
Hi, thanks for the post, it helped me a lot.
I did according to the video, but when I started the nxlog service, an error appeared:
"Windows could not start the nxlog service on local computer "Error: 1053 The service did not respond to the start or control request in timely fashion"
I will be grateful if you can answer ! Tks.
romuloforato created