NXlog only read half line/ data

Tags:

#1 dinarhsb

I have file log, it has like 2000 lines, when i try to send it through HTTP POST, it is only receive half data. It start from the middle line. Its start from the last 4 hour updated line/ row which the 1000+ rows/line. How to setup/ config the nxlog so it will start from the first line/ the whole file. Please help me... below is my config nxlog :

<Extension multiline> Module xm_multiline FixedLineCount 32 </Extension>

<Extension multiline_action> Module xm_multiline FixedLineCount 32 </Extension>

<Input filein> Module im_file

#Wincor
File            &quot;C:\\DataSend\\&quot; + &quot;data_1.log&quot;
InputType       multiline
SavePos 		TRUE
ReadFromLast 	TRUE
CloseWhenIdle	TRUE
PollInterval 	300	

</Input>

<Output http> Module om_http URL http://localhost/log-monitor/public/index.php/receive-log #HTTPSAllowUntrusted TRUE </Output>

<Route filein_to_http> Path filein => http </Route>

Thankyou in advance

#2 manuel.munozDeactivated Nxlog ✓
#1 dinarhsb
I have file log, it has like 2000 lines, when i try to send it through HTTP POST, it is only receive half data. It start from the middle line. Its start from the last 4 hour updated line/ row which the 1000+ rows/line. How to setup/ config the nxlog so it will start from the first line/ the whole file. Please help me... below is my config nxlog : <Extension multiline> Module xm_multiline FixedLineCount 32 </Extension> <Extension multiline_action> Module xm_multiline FixedLineCount 32 </Extension> <Input filein> Module im_file #Wincor File &quot;C:\\DataSend\\&quot; + &quot;data_1.log&quot; InputType multiline SavePos TRUE ReadFromLast TRUE CloseWhenIdle TRUE PollInterval 300 </Input> <Output http> Module om_http URL http://localhost/log-monitor/public/index.php/receive-log #HTTPSAllowUntrusted TRUE </Output> <Route filein_to_http> Path filein => http </Route> Thankyou in advance

It seems you need ReadFromLast FALSE.