Skip to content

Instantly share code, notes, and snippets.

@idefux
idefux / nxlog.conf
Created June 25, 2015 07:18
Forward WinCC user auth logs with nxlog
# This is not a full nxlog.conf file!
# Paste this to your nxlog.conf
# Will regularly read the WinCC Log and extract user/auth info
<Extension csvWinCCLog>
Module xm_csv
Fields $id, $date, $time, $command, $x2, $user, $host, $x3, $x4, $x5, $x6, $x7, $x8, $x9, $x10, $x11
FieldTypes integer, string, string, integer, integer, string, string, string, string, string, string, string, string, string, string, string
Delimiter ,
</Extension>
@idefux
idefux / nxlog.conf
Created June 25, 2015 08:37
Forward Ultra VNC user auth log with nxlog
# This is not a full nxlog.conf
# This is just the code to process the Ultra VNC log file
<Input in_file_UVNC_Log>
Module im_file
File 'C:\Program Files\uvnc bvba\UltraVNC\mslogon.log'
SavePos TRUE
ReadFromLast TRUE
PollInterval 60
# Drop empty messages
@idefux
idefux / network_drive.conf
Created July 10, 2016 20:52
Volumio 2: Synology DiskStation
# Following settings have worked for me
IP address: xxx.xxx.xxx.xxx
Path: /volume1/music (or whatever folder the music is in)
File Share Type: nfs
user/pass must be valid Synology Diskstation credentials
Make sure that given user has access rights (atleast read-only) on the folder
# Crucial part is the share name
# must start with a slash and e.g. volume1