Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/fluent-bit] multiple Decode_Field_As fields for custom parsers #7791

Closed
max-rocket-internet opened this issue Sep 18, 2018 · 8 comments

Comments

@max-rocket-internet
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

FEATURE REQUEST

I need this in my parsers.conf:

[PARSER]
    Name         docker
    Format       json
    Time_Key     time
    Time_Format  %Y-%m-%dT%H:%M:%S.%L
    Time_Keep    On
    # Command      |  Decoder | Field | Optional Action
    # =============|==================|=================
    Decode_Field_As   escaped_utf8    log    do_next
    Decode_Field_As   json       log

But it's not possible in the current configmap to have multiple Decode_Field_As fields.

Which chart:

stable/fluent-bit

@max-rocket-internet
Copy link
Contributor Author

@kfox1111 @mattfarina

@max-rocket-internet
Copy link
Contributor Author

Should I make a PR?

@mattfarina
Copy link
Contributor

@max-rocket-internet sure, you can make a PR.

@max-rocket-internet
Copy link
Contributor Author

I was able to get it working by enabling mergeJSONLog in values file.

@gajus
Copy link

gajus commented Jan 7, 2019

@max-rocket-internet Is there a solution to this?

@kfox1111
Copy link
Collaborator

kfox1111 commented Jan 7, 2019

@gajus
Copy link

gajus commented Jan 7, 2019

Thank you for the link @kfox1111 .

@gajus
Copy link

gajus commented Jan 7, 2019

@kfirstri I am struggling with this issue, in case you are familiar.

#10424

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants