Skip to content

Match directive not working #4457

Closed Answered by daipom
ankit-groverDevops asked this question in Q&A
Discussion options

You must be logged in to vote

@ankit-groverDevops I found the cause!
This parse setting would not be appropriate for the logs.
Is the format of the logs really JSON?

<parse>
  @type json
  time_format "%Y-%m-%dT%H:%M:%S.%NZ"
  time_type string
</parse>

If you don't need to parse it, you can read them as is with the following settings.

<parse>
  @type none
</parse>

Replies: 10 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ankit-groverDevops
Comment options

@daipom
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ankit-groverDevops
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4448 on March 28, 2024 10:26.