class HTTParty::Logger::LogstashFormatter

def logstash_message

def logstash_message
  {
    '@timestamp' => current_time,
    '@version' => 1,
    'content_length' => content_length || '-',
    'http_method' => http_method,
    'message' => message,
    'path' => path,
    'response_code' => response.code,
    'severity' => level,
    'tags' => [TAG_NAME],
  }.to_json
end