Kind: inner class of HTTPInput
Param | Type | Description |
---|---|---|
options | Object |
The options object returned from the LogstashTransport class |
Kind: inner class of module.exports
The class that does transmission of logs using the HTTP Requests
Kind: inner class of TCPInput
Param | Type | Description |
---|---|---|
options | Object |
The options object returned from the LogstashTransport class |
Kind: inner class of module.exports
The class that does transmission of logs using the TCP input
Example
node examples/basic-tcp.js
Kind: inner class of UDPInput
Param | Type | Description |
---|---|---|
options | Object |
The options object returned from the LogstashTransport class |
Kind: inner class of module.exports
The class that does transmission of logs using the UDP input
Example
node examples/basic-udp.js
Kind: inner class of WebSocketInput
The class that does transmission of logs using the WebSockets
Author: Sarvesh Chitko (chitkosarvesh@gmail.com)
Param | Type | Description |
---|---|---|
options | Object |
The Configuration object |
options.name | String |
The name of the transport |
options.input | String |
The input that you want to use |
options.host | String |
The Logstash server host |
options.port | String |
The port of the Logstash pipeline you've configured |
Kind: inner class of module.exports
Extends: Transport
The main class that adds the Logstash capabilities to Winston
Throws:
- UnsupportedInputError
- InvalidParametersError
Kind: inner method of module.exports
Param | Type | Description |
---|---|---|
info | Object |
The log object that needs to be sent to Logstash |
callback | function |
Callback function to call, once processing the log message is processed |