Tag "provisioned" "unprovisioned" problem

Hello guys,
I need help. I upgraded version 1.1.3 from 2018 to latest. My old code in config/graphs.json.erb code with provisioned devices with tags was this…

“zariadenia_online” : {
“status”: [
{
“label”: “Provisioned”,
“color”: “#5e5”,
“query”: {“_tags”: “Provisioned”}
},
{
“label”: “Unprovisioned”,
“color”: “#e55”,
“query”: {“_tags”: {“$ne”:“Provisioned”}}
}
],

I explain: If device after factory-reset get provisioned tag, this moved to pie chart as “provisioned”. If some device have a problem with provisioning, moved him to “unprovisioned” pie chart.

now I have this. But only 1 device and values are 50% to 50%

this is my code but without success.
provisioning:
label: “‘Provisioning’”
slices:
1_provisioned:
color: “‘#5e5’”
filter: “‘Tags = "Provisioned"’”
label: “‘Provisioned’”
2_provisioned:
color: “‘#e55’”
filter: “‘NOT Tags = "Provisioned"’”
label: “‘Unprovisioned’”

Any ideas ?
Thank you

Tags.Provisioned IS NOT NULL

provisioning:
    label: '"Provisioning"'
    slices:
        1_provisioned:
            color: "'#5e5'"
            filter: Tags.Provisioned IS NOT NULL
            label: "'Provisioned'"
        2_not_provisioned:
            color: '"#e55"'
            filter: Tags.Provisioned IS NULL
            label: "'Unprovisioned'"
1 Like

great :slight_smile:
It’s works !
Thank you