createElasticTransport
Function: createElasticTransport()
createElasticTransport(
url,index):RemoteTransporter
Defined in: transports/remote.transport.ts:27
Creates an ElasticSearch transporter that sends log messages to a specified ElasticSearch index.
Parameters
url
string
The base URL of the ElasticSearch server.
index
string
The index name where log messages will be stored.
Returns
A RemoteTransporter function that sends log messages to the specified ElasticSearch index.