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

filename() is unknow

``` Hi I downloaded and install nxlog-ce-3.0.2272rhel8.x8664.rpm on Centos 8 server I it is my first installation on centos 8. I used before only Centos 7 with nxlog. I copied input configuration from other server . and sending data to graylog But field FileName now unknown instead name of file . Rest of fields work excellent

Module im_file

File    "/var/log/*"
SavePos TRUE
ReadFromLast TRUE

Exec    $Message = $raw_event;
Exec    $FileName = file_name();


Replies: 27
View post »