# Chart offline status stopped working

**URL:** <https://forum.genieacs.com/t/chart-offline-status-stopped-working/6464>\
**Category:** Uncategorized\
**Created:** [January 31, 2025, 6:13am UTC](https://forum.genieacs.com/t/chart-offline-status-stopped-working/6464 "2025-01-31T06:13:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adriaand](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Adriaand](https://forum.genieacs.com/u/Adriaand)\
**Post date:** [January 31, 2025, 6:13am UTC](https://forum.genieacs.com/t/chart-offline-status-stopped-working/6464/1 "2025-01-31T06:13:37Z")

</div>

HI all , I was making charts of tags and it was working fine , but the offline stopped updating.  
as an example . Victor Khanye has 5 offfline but only 2 shows offline

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/9/9fbc51c521094807ddb2cb8383e6ebda1764f080.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/1/1a49b1b095a4dfc5ceab70564a0915a68a51439b.png)

here is my script to the chart

Dipaleseng LM:  
label: “‘Dipaleseng LM’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Dipaleseng0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Dipaleseng0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Emalahleni LM:  
label: “‘Emalahleni LM’”  
slices:  
1\_ONLINE:  
color: “‘#44b3c2’”  
filter: Tags.Emalahleni0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Emalahleni0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Emalangeni MP:  
label: “‘Emalangeni MP status’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Emalangeni0x20MP IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Emalangeni0x20MP IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Isimangaliso:  
label: “‘Isimangaliso’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Isimangaliso IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \* 1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Isimangaliso IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Maphumulo LM:  
label: “‘Maphumulo LM status’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Maphumulo0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Maphumulo0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Mkhondo LM:  
label: “‘Mkhondo LM’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Mknondo0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \* 1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Mkhondo0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Msukaligwa LM:  
label: “‘Msukaligwa LM’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Msukaligwa0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Msukaligwa0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Rural Dev SG:  
label: “‘Rural Dev SG’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.RuralDevSG0x20Nel IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.RuralDevSG0x20Nel IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Umlalazi LM:  
label: “‘Umlalazi LM’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Umlalazi0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \* 1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Umlalazi0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
Uphongolo LM:  
label: “‘Uphongolo LM’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Uphongolo0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \* 60 \*  
1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Uphongolo0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \* 60 \*  
1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
VKLM:  
label: “‘VKLM status’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Victor0x20Khanye0x20LM IS NOT NULL AND Events.Inform \> NOW() - 5 \*  
60 \* 1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Victor0x20Khanye0x20LM IS NOT NULL AND Events.Inform \< (NOW() - 5 \*  
60 \* 1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
WaterbergDM:  
label: “‘Waterberg DM status’”  
slices:  
1\_Normal:  
color: “‘#44b3c2’”  
filter: Tags.Waterberg0x20District0x20Municipality IS NOT NULL AND Events.Inform  
\> NOW() - 5 \* 60 \* 1000  
label: “‘Online now’”  
2\_OFFLINE:  
color: “‘#c58744’”  
filter: Tags.Waterberg0x20District0x20Municipality IS NOT NULL AND Events.Inform  
\< (NOW() - 5 \* 60 \* 1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Offline’”  
online:  
label: “‘Online status’”  
slices:  
1\_onlineNow:  
color: “‘#31a354’”  
filter: Events.Inform \> NOW() - 5 \* 60 \* 1000  
label: “‘Online now’”  
2\_past24:  
color: “‘#a1d99b’”  
filter: Events.Inform \> (NOW() - 5 \* 60 \* 1000) - (24 \* 60 \* 60 \* 1000) AND  
Events.Inform \< (NOW() - 5 \* 60 \* 1000)  
label: “‘Past 24 hours’”  
3\_others:  
color: “‘#e5f5e0’”  
filter: Events.Inform \< (NOW() - 5 \* 60 \* 1000) - (24 \* 60 \* 60 \* 1000)  
label: “‘Others’”

---

<div class="post-metadata">

**Author:** ![Adriaand](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@Adriaand](https://forum.genieacs.com/u/Adriaand)\
**Post date:** [January 31, 2025, 6:57am UTC](https://forum.genieacs.com/t/chart-offline-status-stopped-working/6464/2 "2025-01-31T06:57:30Z")

</div>

I just added another rule for 24 hours so it works
