# Insight Appender
Sends log events to a Insight (opens new window) server.
npm install --save @tsed/logger-insight
1
# Configuration
type
-insight
options.token
- LogEntries tokenoptions.region
- The region of ingestion endpoint to be used. Examples:eu
,us
etc.
See all available options for Insight here (opens new window).
# Example
import {Logger} from "@tsed/logger";
import "@tsed/logger-insight";
const logger = new Logger("loggerName");
logger.appenders.set("stdout", {
type: "insight",
level: ["info"],
options: {
token: "the token",
region: "us"
// other options of logentries
}
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
Last Updated: 10/26/2023, 6:30:07 AM
Other topics
- Console Appender
- File Appender
- Date Rolling File Appender
- Connect Appender
- Standard Out Appender
- Standard Error Appender
- Insight Appender
- LogEntries Appender
- LogStash HTTP Appender
- LogStash UDP Appender
- Loggly Appender
- RabbitMQ Appender
- Seq Appender
- Slack Appender
- SMTP Appender
- Basic layout
- Colored layout
- Dummy layout
- Message Pass-Through layout
- Object layout
- Json layout
- Pattern layout