-
Notifications
You must be signed in to change notification settings - Fork 16
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
Use time_format and types on multi_format parse #9
Comments
Probably not cause I get this when I used your example:
|
So please, is someone knows where we should add the |
@nargmarg If you have a problem, need to write configuration and actual log example. We are not psychic, so hard to reply the answer without the information :) |
You're right, sorry.
I don't know if it's the right place for te Do you have any advices? Thansk a lot. |
The same for me. |
I was wondering if @repeatedly is still active. Seen some stuff that would be quite useful (like open PRs) and answers to questions like this. I know you can use time_format in multi_format. Now I want to know if I can take message with the same overall pattern (json), but with different names for time_key. |
Yes. This plugin forwards configurations and events to actual parser plugins, so parser features should be worked.
What does this mean? incoming events have different time key names like below?
|
Exactly @repeatedly. Been struggling with this for a while and it doesn't really seem to work. For example:
My expectation was that it would take go through the parses until there is a match in the time_key. But in the end all different keys endup in the end object in elastic, and the timestamp is the time the event was emitted by fluentd. This is as far as I got, and just put it aside for now. I find it very difficult to understand how fluentd treats time in general. If you have suggestions, I am all ears :) Thanks for looking into it. |
I currently parse one tag with a simple filter but I need to add a different pattern to the filter and I'm planning to migrate to a multi_format plugin.
My question is if it's possible to use the
time_format
andtypes
fields on each the pattern like this:The text was updated successfully, but these errors were encountered: