How to filter only below format from log file


(Naveen Reddy Sama) #1

Hi Folks,

below log is getting from the JMeter log file, can anyone help how to write logstash config filter.

timeStamp,elapsed,label,responseCode,threadName,success,bytes,sentBytes,grpThreads,allThreads,Latency,SampleCount,ErrorCount,Hostname,IdleTime,Connect

2018-06-18T17:22:07.406+0530,1525,Home,200,Thread Group 1-14,true,8333,629,20,20,0,1,0,BLR3264D,1,0

Thanks in advance!


(Magnus Bäck) #2

Use a csv filter.


(Naveen Reddy Sama) #3

hye magnusbaeck thanks for responds

while using csv file am getting below error

[2018-06-18T17:54:41,329][ERROR][logstash.agent ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not execute action: LogStash::PipelineAction::Create/pipeline_id:main, action_result: false", :backtrace=>nil}


(Magnus Bäck) #4

Is that the only log message you get? And what was the configuration you tried?


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.