LogStashHttpOptions
@tsed/logger-logstash-http
Usage
typescript
import { LogStashHttpOptions } from "@tsed/logger-logstash-http";
See /packages/logstash-http/src/types/LogStashHttpAppender.ts.
Overview
ts
class LogStashHttpOptions {
url: string;
bufferMax: number;
application: Function | string;
requireAlias?: boolean;
logType: string;
logChannel: string;
auth?: AxiosBasicCredentials;
timeout?: number;
delayToFlush?: number;
params?: Record<string, any>;
headers?: Record<string, any>;
retryOptions?: IAxiosRetryConfig;
debug?: boolean;
httpsAgent?: any;
}
url
ts
url: string;
bufferMax
ts
bufferMax: number;
application
ts
application: Function | string;
requireAlias
ts
requireAlias?: boolean;
logType
ts
logType: string;
logChannel
ts
logChannel: string;
auth
ts
auth?: AxiosBasicCredentials;
timeout
ts
timeout?: number;
delayToFlush
ts
delayToFlush?: number;
params
ts
params?: Record<string, any>;
headers
ts
headers?: Record<string, any>;
retryOptions
ts
retryOptions?: IAxiosRetryConfig;
debug
ts
debug?: boolean;
httpsAgent
ts
httpsAgent?: any;