send_plain_text: Send logs via the Datadog-API.

Description Usage Arguments Details Value See Also Examples

View source: R/send_logs.R

Description

send_plain_text() is an easy to use function to send logs via the Datadog-API.

Usage

1
send_plain_text(message_body)

Arguments

message_body

the message in plain text format.

Details

Sending logs in plain text format to the Datadog-API url set with set_api_top_level_domains. If no top level domain is specified .eu will be used.

Value

response of the Datadog-API call.

See Also

send_json, set_api_top_level_domains, POST

Examples

1
2
3
4
5
6
7
8
## Not run: 

# send "Hello DDog!"
mbody <- "Hello DDog!"
send_plain_text(mbody)


## End(Not run)

holzben/dogR documentation built on Feb. 21, 2020, 10:25 a.m.