Ask questions. Get answers. Find technical product solutions from passionate experts in the NXLog community.
Transferring two different CSV files using one config file
Sangeetha created
Hi,
I'm trying to transfer two different csv files having different set of columns to a location.
I'm trying to define them in one config file.
I would like to know how we define the Extension module for this scenario since xm_csv is going to be the common one for the entire file.
Is there any option to use more than one extension module with xm_csv specific to each file?
Sample:
Is this possible in one config file?
Extension
<Extension csv_parser>
Module xm_csv
Fields A,B,C,D
Delimiter ,
</Extension>
<Extension csv_parser>
Module xm_csv
Fields E,F,G
Delimiter ,
</Extension>
Sangeetha created
DateFormat in global directives
derqurps created
I was trying to change the global DateFormat as stated in the docs to be able to have the milliseconds included in the output after parsing json, but when i start nxlog i get the message "Invalid keyword: DateFormat at /etc/nxlog.conf"
########################################
# Global directives #
########################################
User nxlog
Group nxlog
LogFile /var/log/nxlog/nxlog.log
LogLevel INFO
DateFormat "YYYY-MM-DDThh:mm:ss.sUTC"
The version of nxlog is 2.9.1716 (nxlog-ce)
Am i doing something wrong? Or is this function not supported in the community edition?
Thanks,
Roman
derqurps created