fastify-graylog-reporter
Advanced tools
Comparing version 1.12.0 to 1.13.0
@@ -1,2 +0,2 @@ | ||
# [1.12.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.11.1...v1.12.0) (2023-10-13) | ||
# [1.13.0](https://github.com/Blynskyniki/fastify-graylog-reporter/compare/v1.12.0...v1.13.0) (2023-10-13) | ||
@@ -6,2 +6,2 @@ | ||
* option exclude fields for report ([396481e](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/396481ecf507157267901212004347096ecdfa70)) | ||
* update description ([18e5355](https://github.com/Blynskyniki/fastify-graylog-reporter/commit/18e5355397d81bb012a829289d50df3243e4c491)) |
@@ -8,5 +8,5 @@ /// <reference types="node" /> | ||
} | ||
export type ExcludeKeys = 'query' | 'params' | 'body' | 'response' | 'credentials' | 'responseStatusCode' | 'requestHeaders' | 'responseHeaders'; | ||
export type ExcludedKeys = 'query' | 'params' | 'body' | 'response' | 'credentials' | 'responseStatusCode' | 'requestHeaders' | 'responseHeaders'; | ||
export declare const fastifyGrayLogReporter: FastifyPluginCallback<Omit<import("./Gelf").ConnectionOptions, "minCompressSize" | "maxChunkSize"> & Partial<Pick<import("./Gelf").ConnectionOptions, "minCompressSize" | "maxChunkSize">> & { | ||
excludeFields?: ExcludeKeys[] | undefined; | ||
excludeFields?: ExcludedKeys[] | undefined; | ||
}, import("http").Server, import("fastify").FastifyTypeProviderDefault, import("fastify").FastifyBaseLogger>; |
{ | ||
"name": "fastify-graylog-reporter", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "Fastify plugin for report request data to Graylog", | ||
@@ -32,5 +32,11 @@ "homepage": "https://github.com/Blynskyniki/fastify-graylog-reporter#readme", | ||
"fastify", | ||
"fastify plugin", | ||
"udp", | ||
"report", | ||
"graylog" | ||
"gelf", | ||
"logging", | ||
"log", | ||
"report", | ||
"graylog", | ||
"graylog2" | ||
], | ||
@@ -37,0 +43,0 @@ "repository": { |
@@ -7,2 +7,6 @@ # Fastify plugin for report request data to Graylog (GELF) | ||
## Graylog Setup: | ||
This module requires a GELF_UDP input to be configured on your graylog server. | ||
## Usage | ||
@@ -45,18 +49,8 @@ | ||
### Gelf query example | ||
### In progress | ||
```json | ||
{ | ||
"version": "1.1", | ||
"host": "example.org", | ||
"short_message": "A short message that helps you identify what is going on", | ||
"full_message": "Backtrace here\n\nmore stuff", | ||
"timestamp": 1385053862.3072, | ||
"level": 1, | ||
"_user_id": 9001, | ||
"_some_info": "foo", | ||
"_some_env_var": "bar" | ||
} | ||
``` | ||
* tcp transport | ||
Sorry, the diff of this file is not supported yet
145565
55