We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Practically, json format data will be flattened before sending to influxdb , example:
// product log { path: 'xxxxxxxx', product: { id: 'xxx', 'name': 'xxx' } message: 'xxxx' } // task log { path: 'xxxxxxxx', task: { id: 'xxx', user: { id: 'xxx', nickname: 'xxx' }, product: { id: 'xxx', 'name': 'xxx' } }, message: 'xxxx' } logger.emit('info', flatten(obj))
if I want to mark all id as tags I have to set tag_keys = [ 'product.id', 'task.user.id', 'task.product.id' ]
With more nested data structure, I have to mark more stupid chained key name manually
so could we add feature support wildcards **.id as fluent <match> pattern or regex format /$id/
<match>
???
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Practically, json format data will be flattened before sending to influxdb ,
example:
if I want to mark all id as tags
I have to set tag_keys = [ 'product.id', 'task.user.id', 'task.product.id' ]
With more nested data structure, I have to mark more stupid chained key name manually
so could we add feature support wildcards
**.id as fluent
<match>
patternor regex format /$id/
???
The text was updated successfully, but these errors were encountered: