Name | Type | Description | Notes |
---|---|---|---|
name | Option<String> | The name for the real-time logging configuration. | |
placement | Option<String> | Where in the generated VCL the logging call should be placed. If not set, endpoints with format_version of 2 are placed in vcl_log and those with format_version of 1 are placed in vcl_deliver . |
|
response_condition | Option<String> | The name of an existing condition in the configured endpoint, or leave blank to always execute. | |
format | Option<String> | A Fastly log format string. Must produce valid JSON that New Relic Logs can ingest. | [default to {"timestamp":"%{begin:%Y-%m-%dT%H:%M:%S}t","time_elapsed":"%{time.elapsed.usec}V","is_tls":"%{if(req.is_ssl, "true", "false")}V","client_ip":"%{req.http.Fastly-Client-IP}V","geo_city":"%{client.geo.city}V","geo_country_code":"%{client.geo.country_code}V","request":"%{req.request}V","host":"%{req.http.Fastly-Orig-Host}V","url":"%{json.escape(req.url)}V","request_referer":"%{json.escape(req.http.Referer)}V","request_user_agent":"%{json.escape(req.http.User-Agent)}V","request_accept_language":"%{json.escape(req.http.Accept-Language)}V","request_accept_charset":"%{json.escape(req.http.Accept-Charset)}V","cache_status":"%{regsub(fastly_info.state, "^(HIT-(SYNTH) |
format_version | Option<String> | The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log if format_version is set to 2 and in vcl_deliver if format_version is set to 1 . |
[default to FormatVersion_v2] |
token | Option<String> | The Insert API key from the Account page of your New Relic account. Required. | |
region | Option<String> | The region to which to stream logs. | [default to Region_US] |
created_at | Option<String> | Date and time in ISO 8601 format. | [readonly] |
deleted_at | Option<String> | Date and time in ISO 8601 format. | [readonly] |
updated_at | Option<String> | Date and time in ISO 8601 format. | [readonly] |
service_id | Option<String> | [readonly] | |
version | Option<String> | [readonly] |