Custom access log nginx4/9/2023 ![]() ![]() '$upstream_http_x_apigee_dp_color\\\\t$my_x_apigee_target_latency\\\\t'\\ '$upstream_http_x_apigee_fault_policy\\t$upstream_http_x_apigee_fault_flow\\t$upstream_http_x_apigee_fault_revision\\t'\\ '$upstream_http_x_apigee_fault_flag\\\\t$upstream_http_x_apigee_fault_source\\\\t$upstream_http_x_apigee_fault_code\\\\t'\\ '$http_user_agent\\\\t$host\\t$hostname-$pid-$connection-$connection_requests\\\\t$my_nginx_var_xff\\t'\\ conf_load_balancing_.extra=log_format router_new '$time_iso8601\\\\t$hostname\\\\t$remote_addr:$remote_port\\\\t'\\ Update log_format value as required, the default log_format value and the list of Nginx variables can be found at. Add following content to the /opt/apigee/customer/application/router.properties file for adding a new log_format configuration with the name router_new. ![]() Create router.properties file at the below path if that does not exist: File path: /opt/apigee/customer/application/router.propertiesĢ. This article explains how to update the default Apigee Router/Nginx log format configuration. In some scenarios it will be required to either change the default Apigee Router/Nginx log format or add additional variables. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |