Package com.datadog.api.client.v2.model
Class HTTPLogItem
java.lang.Object
com.datadog.api.client.v2.model.HTTPLogItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class HTTPLogItem
extends Object
Logs that are sent over HTTP.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this HTTPLogItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The integration name associated with your log: the technology from which the log originated.Tags associated with your logs.The name of the originating host of the log.The message reserved attribute of your log.The name of the application or service generating the log events.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDdsource(String ddsource) voidvoidsetHostname(String hostname) voidsetMessage(String message) voidsetService(String service) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DDSOURCE
- See Also:
-
JSON_PROPERTY_DDTAGS
- See Also:
-
JSON_PROPERTY_HOSTNAME
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
-
Constructor Details
-
HTTPLogItem
public HTTPLogItem() -
HTTPLogItem
-
-
Method Details
-
ddsource
-
getDdsource
The integration name associated with your log: the technology from which the log originated. When it matches an integration name, Datadog automatically installs the corresponding parsers and facets. See reserved attributes.- Returns:
- ddsource
-
setDdsource
-
ddtags
-
getDdtags
Tags associated with your logs.- Returns:
- ddtags
-
setDdtags
-
hostname
-
getHostname
The name of the originating host of the log.- Returns:
- hostname
-
setHostname
-
message
-
getMessage
The message reserved attribute of your log. By default, Datadog ingests the value of the message attribute as the body of the log entry. That value is then highlighted and displayed in the Logstream, where it is indexed for full text search.- Returns:
- message
-
setMessage
-
service
-
getService
The name of the application or service generating the log events. It is used to switch from Logs to APM, so make sure you define the same value when you use both products. See reserved attributes.- Returns:
- service
-
setService
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- HTTPLogItem
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this HTTPLogItem object is equal to o. -
hashCode
public int hashCode() -
toString
-