Sha256: 26e6dcd41526b355569ccd4de3e6bac935955c12a1ad9587cabf6c7fc2070ad9

Contents?: true

Size: 1.72 KB

Versions: 17

Compression:

Stored size: 1.72 KB

Contents

# Fastly::LoggingNewrelicAllOf

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **format** | **String** | A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that New Relic Logs can ingest. | [optional][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)|(HITPASS|HIT|MISS|PASS|ERROR|PIPE)).*\\\", \\\"\\\\2\\\\3\\\") }V\"}'] |
| **token** | **String** | The Insert API key from the Account page of your New Relic account. Required. | [optional] |
| **region** | **String** | The region to which to stream logs. | [optional][default to 'US'] |

[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fastly-6.0.2 docs/LoggingNewrelicAllOf.md
fastly-6.0.1 docs/LoggingNewrelicAllOf.md
fastly-6.0.0 docs/LoggingNewrelicAllOf.md
fastly-5.3.1 docs/LoggingNewrelicAllOf.md
fastly-5.3.0 docs/LoggingNewrelicAllOf.md
fastly-5.2.2 docs/LoggingNewrelicAllOf.md
fastly-5.2.1 docs/LoggingNewrelicAllOf.md
fastly-5.2.0 docs/LoggingNewrelicAllOf.md
fastly-5.1.1 docs/LoggingNewrelicAllOf.md
fastly-5.1.0 docs/LoggingNewrelicAllOf.md
fastly-5.0.0 docs/LoggingNewrelicAllOf.md
fastly-4.4.0 docs/LoggingNewrelicAllOf.md
fastly-4.3.0 docs/LoggingNewrelicAllOf.md
fastly-4.2.0 docs/LoggingNewrelicAllOf.md
fastly-4.1.0 docs/LoggingNewrelicAllOf.md
fastly-4.0.1.pre.alpha.0 docs/LoggingNewrelicAllOf.md
fastly-4.0.0 docs/LoggingNewrelicAllOf.md