Sha256: 5713ab1d3098c12149b6da228af452ecbb8609169d057a3434315c158d75643f

Contents?: true

Size: 1.73 KB

Versions: 18

Compression:

Stored size: 1.73 KB

Contents

# Fastly::LoggingNewrelicAdditional

## 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

18 entries across 18 versions & 1 rubygems

Version Path
fastly-9.0.0 docs/LoggingNewrelicAdditional.md
fastly-8.10.0 docs/LoggingNewrelicAdditional.md
fastly-8.9.0 docs/LoggingNewrelicAdditional.md
fastly-8.8.0 docs/LoggingNewrelicAdditional.md
fastly-8.7.0 docs/LoggingNewrelicAdditional.md
fastly-8.6.0 docs/LoggingNewrelicAdditional.md
fastly-8.5.0 docs/LoggingNewrelicAdditional.md
fastly-8.4.0 docs/LoggingNewrelicAdditional.md
fastly-8.2.0 docs/LoggingNewrelicAdditional.md
fastly-8.1.0 docs/LoggingNewrelicAdditional.md
fastly-8.0.1 docs/LoggingNewrelicAdditional.md
fastly-8.0.0 docs/LoggingNewrelicAdditional.md
fastly-7.2.2 docs/LoggingNewrelicAdditional.md
fastly-7.2.1 docs/LoggingNewrelicAdditional.md
fastly-7.2.0 docs/LoggingNewrelicAdditional.md
fastly-7.1.1 docs/LoggingNewrelicAdditional.md
fastly-7.1.0 docs/LoggingNewrelicAdditional.md
fastly-7.0.0 docs/LoggingNewrelicAdditional.md