You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am sending logs in json format to elasticsearch using fluentD.
There is a field called statusCode, and it both comes in as string and int, but because the data type is inconsistent, it is giving me an error.
how can i make it to take it as string and send as string even when it comes in as int?
i tried lua, but it looks like fluentd does not support.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am sending logs in json format to elasticsearch using fluentD.
There is a field called statusCode, and it both comes in as string and int, but because the data type is inconsistent, it is giving me an error.
how can i make it to take it as string and send as string even when it comes in as int?
i tried lua, but it looks like fluentd does not support.
here is the config file i used:
This works fine if the statusCode is consistent.
few things i tried is inserting this line:
and
but they were not so helpful.
please help!!
thank you!
Beta Was this translation helpful? Give feedback.
All reactions