-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Labels
agent-javacommunityIssues and PRs created by the communityIssues and PRs created by the communitytriageIssues and PRs that need to be triagedIssues and PRs that need to be triaged
Description
Hi,
I want to customize the key names like @timestamp. Because there is a problem with Logstash Parser and @timestamp => logstash-plugins/logstash-filter-date#95
My workaround in the logstash parser:
mutate { copy => { "@timestamp" => "timestamp_modified" } } mutate { convert => { "timestamp_modified" => "string" } } date { match => [ "timestamp_modified", "ISO8601" ] tag_on_failure => "_dateparsefailure" add_tag => [ "date_replaced" ] }
The keys are hard coded in
ecs-logging-java/ecs-logging-core/src/main/java/co/elastic/logging/EcsJsonSerializer.java
Line 34 in 7dbf50e
| public class EcsJsonSerializer { |
Best
Niklas
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent-javacommunityIssues and PRs created by the communityIssues and PRs created by the communitytriageIssues and PRs that need to be triagedIssues and PRs that need to be triaged
Type
Fields
Give feedbackNo fields configured for issues without a type.