Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize the key names like @timestamp #213

Open
NFehringVHV opened this issue Aug 18, 2023 · 0 comments
Open

Customize the key names like @timestamp #213

NFehringVHV opened this issue Aug 18, 2023 · 0 comments
Labels
agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged

Comments

@NFehringVHV
Copy link

NFehringVHV commented Aug 18, 2023

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

Best
Niklas

@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged labels Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community triage Issues and PRs that need to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant