If condition loop on array

AMAZING, thank you very much !!!!!
it works as I want :star_struck:
could you tell me where can learn ruby? I´m a nobbie on it

I only had to modify the uppercase A and put as discos.is_a?

This is JSON result and how it shows on kibana

{
  "_index": "ilohost",
  "_type": "_doc",
  "_id": "G8wE3YgBytP59SAoyF4M",
  "_version": 1,
  "_score": 1,
  "_source": {
    "NicEnableStatus": 2,
    "@version": "1",
    "InterfaceStatus": 2,
    "disk26": 2,
    "SelfTestErrors": 0,
    "disk15": 2,
    "@timestamp": "2023-06-21T08:14:18.019Z",
    "disk02": 2,
    "disk12": 2,
    "disk14": 2,
    "disk06": 2,
    "BatteryPercentCharged": 0,
    "disk25": 2,
    "disk17": 2,
    "disk10": 2,
    "disk11": 2,
    "disk24": 2,
    "disk23": 2,
    "disk03": 2,
    "PendingAlerts": 2,
    "disk04": 2,
    "disk16": 2,
    "disk22": 2,
    "disk05": 2,
    "tabladiscos": [