Not send to graylog if field name = duration
Like this:
logFields := map[string]interface{}{
"method": r.Method,
"url": r.URL.Path + "?" + r.URL.RawQuery,
"duration": fmt.Sprintf("%f seconds", time.Since(startTime).Seconds()),
"datetime": startTime,
}
Not send to graylog if field name = duration
Like this: