Skip to content

Commit

Permalink
Fix typo on field names
Browse files Browse the repository at this point in the history
  • Loading branch information
QU3B1M committed Nov 28, 2024
1 parent 57cddc9 commit 24a4c17
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
builder.startObject();
this.agent.toXContent(builder, ToXContentObject.EMPTY_PARAMS);
this.command.toXContent(builder, ToXContentObject.EMPTY_PARAMS);
builder.field("timestamp", this.timestamp);
builder.field("deliveryTimestamp", this.deliveryTimestamp);
builder.field("@timestamp", this.timestamp);
builder.field("delivery_timestamp", this.deliveryTimestamp);
return builder.endObject();
}

Expand All @@ -94,6 +94,8 @@ public String toString() {
return "Document{"
+ "@timestamp="
+ timestamp
+ ", delivery_timestamp="
+ deliveryTimestamp
+ ", agent="
+ agent
+ ", command="
Expand Down

0 comments on commit 24a4c17

Please sign in to comment.