Hi Splunkers,
I am monitoring a folder (/opt/pvlogs/QUT-GP-P10) with a collection of CSV text files, as follows:
....
int_magnetek_151019.txt
int_magnetek_151020.txt
int_magnetek_151021.txt
int_magnetek_151022.txt
int_magnetek_151023.txt
int_magnetek_151024.txt
int_magnetek_151025.txt
int_magnetek_151026.txt
int_magnetek_151027.txt
....
Log file format example:
[info]
Anlage=QUT P BLOCK LEVEL 10
Datum=151027
[messung]
;s;Adr;WR;MPC;S_GL;S_WR;S_DC1;S_DC2;S_AL;UDC1;IDC1;UDC2;IDC2;UAC;IAC;PAC;FAC;T_WR1;T_WR2;I_LC;R_ISO;E_TOTAL;E_INT;P_LIMIT;COS_PHI
;s;;;%;;;;;;V;A;V;A;V;A;W;Hz;°C;°C;A;MOhm;kWh;Wh;;
[Start]
00:15:00;900;2;PVI-10.0-OUTD;;;;;;;;;;;;;;;;;;;;;;
00:15:00;900;3;PVI-10.0-OUTD;;;;;;;;;;;;;;;;;;;;;;
00:15:00;900;4;PVI-6000-OUTD;;;;;;;;;;;;;;;;;;;;;;
....
The configuration settings:
**inputs.conf**
[monitor:///opt/pvlogs/QUT-GP-P10/*.txt]
disabled = false
index = test
sourcetype = sec_pv_data
host = QUT-GP-P10
crcSalt =