Thank you for answering
I have this result :
{
"date" => "2017-10-31-07:29:05",
"headers" => {
"http_accept" => "*/*",
"content_type" => "application/x-www-form-urlencoded",
"request_path" => "/twitter/tweet/1",
"http_version" => "HTTP/1.1",
"request_method" => "PUT",
"http_host" => "localhost:8080",
"request_uri" => "/twitter/tweet/1",
"content_length" => "177",
"http_user_agent" => "curl/7.38.0"
},
"@timestamp" => 2017-11-06T09:20:42.873Z,
"loglevel" => "DEBUG",
"@version" => "1",
"host" => "127.0.0.1",
"description" => "Waiting for callback, for command id : 562322017-10-31-07:29:05 - DEBUG Waiting for callback...2017-10-31-07:29:06 - DEBUG Callback called after 1000",
"message" => "2017-10-31-07:29:05 - DEBUG Waiting for callback, for command id : 562322017-10-31-07:29:05 - DEBUG Waiting for callback...2017-10-31-07:29:06 - DEBUG Callback called after 1000"
}
I would like something like :
{
"date" => "2017-10-31-07:29:05",
"headers" => {
"http_accept" => "*/*",
"content_type" => "application/x-www-form-urlencoded",
"request_path" => "/twitter/tweet/1",
"http_version" => "HTTP/1.1",
"request_method" => "PUT",
"http_host" => "localhost:8080",
"request_uri" => "/twitter/tweet/1",
"content_length" => "177",
"http_user_agent" => "curl/7.38.0"
},
"@timestamp" => 2017-11-06T09:20:42.873Z,
"loglevel" => "DEBUG",
"@version" => "1",
"host" => "127.0.0.1",
"description" => "Waiting for callback, for command id : 562322",
"message" => "2017-10-31-07:29:05 - DEBUG Waiting for callback, for command id : 56232"
},
{
"date" => "2017-10-31-07:29:05",
"headers" => {
"http_accept" => "*/*",
"content_type" => "application/x-www-form-urlencoded",
"request_path" => "/twitter/tweet/1",
"http_version" => "HTTP/1.1",
"request_method" => "PUT",
"http_host" => "localhost:8080",
"request_uri" => "/twitter/tweet/1",
"content_length" => "177",
"http_user_agent" => "curl/7.38.0"
},
"@timestamp" => 2017-11-06T09:20:42.873Z,
"loglevel" => "DEBUG",
"@version" => "1",
"host" => "127.0.0.1",
"description" => "Waiting for callback, for command id : 562322",
"message" => "2017-10-31-07:29:05 - DEBUG Waiting for callback..."
},
{
"date" => "2017-10-31-07:29:06",
"headers" => {
"http_accept" => "*/*",
"content_type" => "application/x-www-form-urlencoded",
"request_path" => "/twitter/tweet/1",
"http_version" => "HTTP/1.1",
"request_method" => "PUT",
"http_host" => "localhost:8080",
"request_uri" => "/twitter/tweet/1",
"content_length" => "177",
"http_user_agent" => "curl/7.38.0"
},
"@timestamp" => 2017-11-06T09:20:42.873Z,
"loglevel" => "DEBUG",
"@version" => "1",
"host" => "127.0.0.1",
"description" => "Callback called after 1000",
"message" => "2017-10-31-07:29:06 - DEBUG Callback called after 1000"
}
thank you