Closed yusufali2205 closed 6 years ago
Is it possible to add support for log levels during initialization? So that only logs of that level and above will be sent to HTTP Event Collector (HEC)?
Something like:
var config = { token: "your-token-here", url: "https://splunk.local:8088", level: "WARN" };
So that
Logger.info(payload, "Chicken coup looks stable.");
will NOT be sent to the HEC
It looks like we can provide log levels during initialization.
Is it possible to add support for log levels during initialization? So that only logs of that level and above will be sent to HTTP Event Collector (HEC)?
Something like:
So that
will NOT be sent to the HEC