{
  "dataSources": {
    "ds_GHdtwfg5": {
      "type": "ds.search",
      "options": {
        "query": "index=wazuh-alerts $text_IUbHI6Dq$ \n| timechart count by agent.name"
      },
      "name": "Search_5"
    },
    "ds_BIdQZ95d": {
      "type": "ds.search",
      "options": {
        "query": "index=wazuh-alerts | top limit=$count$ sourcetype | eval percent = round(percent,2)"
      },
      "name": "Search_1"
    },
    "ds_4N9TMJiX": {
      "type": "ds.search",
      "options": {
        "query": "index=\"wazuh-alerts\" $text_IUbHI6Dq$ | timechart count by agent.name"
      },
      "name": "Search_2"
    }
  },
  "inputs": {
    "input_global_trp": {
      "type": "input.timerange",
      "options": {
        "token": "global_time",
        "defaultValue": "-24h@h,now"
      },
      "title": "Global Time Range"
    },
    "input_WxeranBL": {
      "options": {
        "defaultValue": "Default Text",
        "token": "text_IUbHI6Dq"
      },
      "title": "Text Input Title",
      "type": "input.text"
    },
    "input_DwM6youF": {
      "options": {
        "defaultValue": 10,
        "token": "num_rSnoK3uk"
      },
      "title": "Number Input Title",
      "type": "input.number"
    },
    "input_DwM6youA": {
      "type": "input.text",
      "options": {
        "defaultValue": "5",
        "token": "count"
      },
      "title": "Input count:"
    }
  },
  "layout": {
    "type": "absolute",
    "options": {
      "submitButton": true,
      "submitonDashboardLoad": true,
      "display": "auto-scale",
      "height": 2000,
      "backgroundColor": "#ffffff"
    },
    "structure": [
      {
        "item": "viz_ZgRiQCoQ",
        "type": "block",
        "position": {
          "x": 30,
          "y": 340,
          "w": 730,
          "h": 300
        }
      },
      {
        "item": "viz_ErIyOWsh",
        "type": "block",
        "position": {
          "x": 20,
          "y": 20,
          "w": 1170,
          "h": 300
        }
      }
    ],
    "globalInputs": [
      "input_global_trp",
      "input_WxeranBL",
      "input_DwM6youF",
      "input_DwM6youA"
    ]
  },
  "title": "Probando",
  "description": "",
  "defaults": {
    "dataSources": {
      "global": {
        "options": {
          "queryParameters": {
            "latest": "$global_time.latest$",
            "earliest": "$global_time.earliest$"
          }
        }
      }
    },
    "visualizations": {
      "global": {
        "showLastUpdated": true
      }
    }
  },
  "visualizations": {
    "viz_ZgRiQCoQ": {
      "type": "splunk.column",
      "dataSources": {
        "primary": "ds_GHdtwfg5"
      },
      "options": {
        "yAxisAbbreviation": "off",
        "y2AxisAbbreviation": "off",
        "showRoundedY2AxisLabels": false,
        "legendTruncation": "ellipsisMiddle",
        "showY2MajorGridLines": true
      },
      "context": {}
    },
    "viz_ErIyOWsh": {
      "type": "splunk.column",
      "options": {},
      "dataSources": {
        "primary": "ds_4N9TMJiX"
      }
    }
  }
}
