HTTP destination plugin

You use HTTP to send your processed telemetry data to an HTTP endpoint, such as a web server or an API. With the HTTP destination plugin, you can seamlessly integrate Calyptia Core with various external systems that support HTTP, allowing you to send your data to remote servers or services over the internet. By using HTTP destination plugin, you can transmit your data securely and reliably, ensuring that your data reaches its intended destination in a timely and efficient manner.

Configuration parameters

The HTTP destination plugin provides these configuration parameters.

General

KeyDescription
HostIP address or hostname of the target HTTP Server.
PortTCP port of the target HTTP Server.
URISpecify an optional HTTP URI for the target web server.
FormatSpecify the data format to be used in the HTTP request body, by default it uses json_lines. Other supported formats are json and json_stream.

Advanced

KeyDescription
HeadersAdd a HTTP header key/value pair. Multiple headers can be set.
CompressSet payload compression mechanism.
HTTP ProxySpecify an HTTP Proxy. The expected format of this value is http://host:port.
JSON Date FormatSpecify the format of the date, supported formats: double, iso8601 (for example, 2018-05-30T09:39:52.000681Z), java_sql_timestamp (for example, 2018-05-30 09:39:52.000681, which can be used with AWS Athena), and epoch.
JSON Date KeySpecify the name of the date field in output.
Body KeySpecify the key which contains the body.
Header TagSet a HTTP header which value is the tag of the record.
Header KeySpecify the key which contains the headers.

Security and TLS

NameKeyDescriptionDefault
TLStlsEnable or disable TLS/SSL support.none
TLS Certificate Validationtls.verifyTurn TLS/SSL certificate validation on or off. TLS must be on for this setting to be enabled.on
TLS Debug Leveltls.debugSet TLS debug verbosity level. Accepted values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational), 4 (Verbose).1
CA Certificate File Pathtls.ca_fileAbsolute path to CA certificate file.none
Certificate File Pathtls.crt_fileAbsolute path to certificate file.none
Private Key File Pathtls.key_fileAbsolute path to private key file.none
Private Key Path Passwordtls.key_passwdOptional password for tls.key_file file.none
TLS SNI Hostname Extensiontls.vhostHostname to be used for TLS SNI extension.none

Advanced networking

NameKeyDescriptionDefault
DNS Modenet.dns.modeSelect the primary DNS connection type, which can be TCP or UDP.none
DNS Resolvernet.dns.resolverSelect the primary DNS connection type, which can be LEGACY or ASYNC.none
Prefer IPv4net.dns.prefer_ipv4Prioritize IPv4 DNS results when trying to establish a connection. Valid values are true or false.none
Keepalivenet.keepaliveEnable or disable Keepalive support. Valid values are true or false.true
Keepalive Idle Timeoutnet.keepalive_idle_timeoutSet maximum time allowed for an idle Keepalive connection.30s
Max Connect Timeoutnet.connect_timeoutSet maximum time allowed to establish a connection, which includes the TLS handshake.10s
Max Connect Timeout Log Errornet.connect_timeout_log_errorOn connection timeout, specify if it should log an error. When disabled, the timeout is logged as a debug message. Valid values are true or false.true
Max Keepalive Recyclenet.keepalive_max_recycleSet maximum number of times a keepalive connection can be used before it is retired.2000
Source Addressnet.source_addressSpecify network address to bind for data traffic.none

Basic authentication

NameKeyDescriptionDefault
HTTP Usernamehttp_userBasic Auth Username.none
HTTP Passwordhttp_passwordBasic Auth Password. Requires http_user to be set.none

AWS authentication

KeyDescription
Enable AWS AuthenticationEnable AWS Sigv4 Authentication.
Enable AWS Sigv4 AuthenticationAWS destination service code, used by SigV4 authentication.
AWS RegionAWS Region of your service.
AWS STS EndpointCustom endpoint for the AWS STS API, used with the AWS_Role_ARN option.
AWS IAM Assume RoleARN of an IAM role to assume (for example, cross-account access).
AWS External IDSpecify an external ID for the STS API, can be used with the aws_role_arn parameter if your role requires an external ID.