bunyan-elasticsearch
bunyan-elasticsearch copied to clipboard
A Bunyan stream for saving logs into Elasticsearch.
Using this with a web api server (single logger for the application)... when running under load tests (few thousand concurrent users and millions of requests) the RAM usage will grow...
If you do this: ```js var logger = bunyan.createLogger({ name: "My Application", streams: [ { stream: process.stdout }, { stream: esStream, type: 'raw' } ], serializers: bunyan.stdSerializers }); ``` Then...
entry['@timestamp'] = entry.time; please make it an option, since ES deprecared usage of @timestamp. and then I could set it to 'timestamp' easily.
Adds the possibility to use a pipeline for indexing as for https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-index
Pinging elasticsearch before index not to crash
Seems the `[path: full]` in Object type mapping is now deprecated. `Elasticsearch Stream Error: [mapper_parsing_exception] Mapping definition for [geoip] has unsupported parameters: [path : full] :: {"path":"/logstash-2016.08.26/api","query":{"op_type":"create"},"body":"{\"name\":\"default\",\"hostname\":\"API-Staging\",\"pid\":8969,\"level\":\"info\",\"v\":0,\"@timestamp\":\"2016-08-26T04:24:17.754Z\",\"message\":\"ApiApps loaded successfully from...
I'm getting the following error, using the documentation on the readme. ``` Elasticsearch Stream Error: Error: [mapper_parsing_exception] failed to find type parsed [multi_field] for [name] ``` I followed the instructions...
I got this error while trying to run this package in newly cloned repository (worked before). I fixed this by renaming `this.closed` to `this.closedStream` not sure if I should open...
Error that i receive is `Elasticsearch Stream Error: Error: no handler found for uri [/logs-turing-api-test-2023.03.27/logs] and method [POST] at respond (/Users/ahmedjehanzaib/Simplus/Projects/Turing/turing-api/node_modules/elasticsearch/src/lib/transport.js:289:15) at checkRespForFailure (/Users/ahmedjehanzaib/Simplus/Projects/Turing/turing-api/node_modules/elasticsearch/src/lib/transport.js:248:7) at HttpConnector. (/Users/ahmedjehanzaib/Simplus/Projects/Turing/turing-api/node_modules/elasticsearch/src/lib/connectors/http.js:164:7) at IncomingMessage.wrapper (/Users/ahmedjehanzaib/Simplus/Projects/Turing/turing-api/node_modules/lodash/lodash.js:4991:19)...