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
I'm currently using Dockbeat to push docker container stats directly to elasticsearch in order to print some smooth dashboard in our paas and it's working quite well.
I only have an issue when I try to parse data from containerLabels in elasticsearch.
I cannot parse dynamic struc like this in my ES/Timelion query :
{
"key": "application-type",
"value": "tomcat"
}
In order to filer easily I had to modify dockbeat code :
event/generator.go (line 362) :
output_labels[i] = common.MapStr{ label: v,
"key": label,
"value": v,
}
to have :
{
"application-type": "tomcat",
"key": "application-type",
"value": "tomcat"
}
And I filter directly the label because I know the key, is there a way to do the same think without changing the source code and rebuilding ...
Nice Jobs for this beats plugin.
regards.
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently using Dockbeat to push docker container stats directly to elasticsearch in order to print some smooth dashboard in our paas and it's working quite well.
I only have an issue when I try to parse data from containerLabels in elasticsearch.
I cannot parse dynamic struc like this in my ES/Timelion query :
{
"key": "application-type",
"value": "tomcat"
}
In order to filer easily I had to modify dockbeat code :
event/generator.go (line 362) :
output_labels[i] = common.MapStr{
label: v,
"key": label,
"value": v,
}
to have :
{
"application-type": "tomcat",
"key": "application-type",
"value": "tomcat"
}
And I filter directly the label because I know the key, is there a way to do the same think without changing the source code and rebuilding ...
Nice Jobs for this beats plugin.
regards.
The text was updated successfully, but these errors were encountered: