Our app logs HTTP response times for the APIs we provide. What would be the best standard field to put this data in to follow ECS standard and best practices? There is no http.response.latency or similar field and event.* fields look like an overkill.
I agree with @legoguy1000 that event.duration could map well to something like $request_time from NGINX (noting the necessary value conversion from milliseconds to nanoseconds).
If event.duration doesn't align with your need, custom fields can be used alongside ECS fields, and if you follow the recommended guidance you minimize the risk of any future field name conflicts.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.