CloudWatch to ElasticSearch-订阅过滤器模式,用于包括输出的csv部分

时间:2019-12-04 16:53:28

标签: csv elasticsearch jmeter amazon-cloudwatch

我向云监控输出的示例:

Starting standalone test @ Wed Dec 04 13:34:47 GMT 2019 (1575466487970)
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
1575466492422,1727,/my/test/url/a,200,,Thread Group 1-54,,true,,622,472,67,67,https://testdomain/my/test/url/a
1575466494152,6,/my/test/url/b,403,,Thread Group 1-54,,false,,404,470,67,67,https://testdomain/my/test/url/b
1575466491565,2584,/my/test/url/c,200,,Thread Group 1-41,,true,,622,472,67,67,https://testdomain/my/test/url/c

我只想将CSV数据传递给ElasticSearch,而忽略其他所有内容。

这是CSV数据的结构:

timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect

我尝试了一些模式,例如:

[timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,URL,Latency,IdleTime,Connect]

但是这没有任何意义,有没有一种我只能用来捕获CSV数据的模式?

0 个答案:

没有答案