{
  "includeFiles":[
  ],
  "metadata":{
    "amiCustomCss":[
      ".button{\n",
      "  background:#f2f200;\n",
      "}\n",
      ".refresh{\n",
      "  /*background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2c-5.621 0-10.211 4.443-10.475 10h-3.025l5 6.625 5-6.625h-2.975c.257-3.351 3.06-6 6.475-6 3.584 0 6.5 2.916 6.5 6.5s-2.916 6.5-6.5 6.5c-1.863 0-3.542-.793-4.728-2.053l-2.427 3.216c1.877 1.754 4.389 2.837 7.155 2.837 5.79 0 10.5-4.71 10.5-10.5s-4.71-10.5-10.5-10.5z'/%3E%3C/svg%3E\");*/\n",
      "  filter: invert(1);\n",
      "  background-size: contain;\n",
      "  /*height: px;*/\n",
      "}\n",
      ".refresh:checked{\n",
      "  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2c-5.621 0-10.211 4.443-10.475 10h-3.025l5 6.625 5-6.625h-2.975c.257-3.351 3.06-6 6.475-6 3.584 0 6.5 2.916 6.5 6.5s-2.916 6.5-6.5 6.5c-1.863 0-3.542-.793-4.728-2.053l-2.427 3.216c1.877 1.754 4.389 2.837 7.155 2.837 5.79 0 10.5-4.71 10.5-10.5s-4.71-10.5-10.5-10.5z'/%3E%3C/svg%3E\") !important;\n",
      "  background-size: contain;\n",
      "  \n",
      "}\n",
      "\n"
    ],
    "amiScriptMethods":[
      "{\n",
      "  //##### ##### ##### \n",
      "  // Autocomplete Files FlatFile\n",
      "  //##### ##### ##### \n",
      "  Table session_getTable(String id){\n",
      "    TablePanel tp ;\n",
      "    tp.getSelectedRows();\n",
      "    Table t = session.getValue(id);\n",
      "    if(t == null)\n",
      "      return null;\n",
      "    else {\n",
      "      create table ${id} = t;\n",
      "      return t;\n",
      "    }\n",
      "  };\n",
      "  int session_setTable(String id, String columns){\n",
      "    Table t = select ${columns} from `${id}`;\n",
      "    // Table t = select * from ${id}; // this returns error if id is diagnose or other reserved word;\n",
      "    session.setValue(id, t);\n",
      "  };\n",
      "  int session_addTableTo(String target, String newResults, String columns){\n",
      "    session_getTable(target);\n",
      "    insert into ${target} (${columns}) from select ${columns} from ${newResults};\n",
      "    session_setTable(target, columns);\n",
      "    drop table ${target};\n",
      "  };\n",
      "  int session_init(){\n",
      "    String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n",
      "    CREATE TABLE `current_diagnose` (`TABLE` String,`TYPE` String,`NAME` String,`EST_MEMORY` Long,`COUNT` Integer,`CARDINALITY` Integer,`COMMENT` String,`AVG_LENGTH` Double);\n",
      "    session_setTable(\"current_diagnose\", columns);\n",
      "    CREATE TABLE `full_diagnose` (`TABLE` String,`TYPE` String,`NAME` String,`EST_MEMORY` Long,`COUNT` Integer,`CARDINALITY` Integer,`COMMENT` String,`AVG_LENGTH` Double);\n",
      "    session_setTable(\"full_diagnose\", columns);\n",
      "  };\n",
      "  \n",
      "  int showTables(){\n",
      "    create table tables as use ds=\"AMI\" execute select * from (show tables); \n",
      "  };\n",
      "  \n",
      "  int getDiagnose(){\n",
      "    session_getTable(\"current_diagnose\"); \n",
      "    session_getTable(\"full_diagnose\"); \n",
      "  };\n",
      "  \n",
      "  int diagnoseReprocess(){\n",
      "    layout.getDatamodel(\"dm_diagnose\").reprocess();\n",
      "  };\n",
      "  \n",
      "  int diagnoseTable(String tableName){\n",
      "    String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n",
      "    create table current_diagnose as use ds=\"AMI\" execute select ${columns} from (diagnose table `${tableName}`);\n",
      "    // Table t = select * from `${id}`;\n",
      "    session_setTable(\"current_diagnose\", columns);\n",
      "    session_addTableTo(\"full_diagnose\", \"current_diagnose\", columns);\n",
      "  };\n",
      "  \n",
      "  int diagnoseColumn(String tableName, String column){\n",
      "    String columns = \"TABLE, TYPE, NAME, EST_MEMORY, COUNT, CARDINALITY, COMMENT\";\n",
      "    create table current_diagnose as use ds=\"AMI\" execute select  ${columns} from (diagnose column ${column} on`${tableName}`);\n",
      "    session_setTable(\"current_diagnose\", columns);\n",
      "    session_addTableTo(\"full_diagnose\", \"current_diagnose\", columns);\n",
      "  };\n",
      "  int menu_diagnoseTable(MenuItem mi){\n",
      "    TablePanel tp = mi.getPanel();\n",
      "    List rows = tp.getSelectedRows();\n",
      "    for(int i = 0; i < rows.size(); i++){\n",
      "      Row r = rows.get(i);\n",
      "      String name = r.get(\"TableName\");\n",
      "      diagnoseTable(name);\n",
      "    }\n",
      "    diagnoseReprocess();\n",
      "  };\n",
      "  int menu_diagnoseColumn(MenuItem mi){\n",
      "    TablePanel tp = mi.getPanel();\n",
      "    List rows = tp.getSelectedRows();\n",
      "    for(int i = 0; i < rows.size(); i++){\n",
      "      Row r = rows.get(i);\n",
      "      String tableName = r.get(\"TABLE\");\n",
      "      String name = r.get(\"NAME\");\n",
      "      \n",
      "      diagnoseColumn(tableName, name);\n",
      "    }\n",
      "  };\n",
      "  //##### ##### ##### \n",
      "  // Autocomplete Files FlatFile\n",
      "  //##### ##### ##### \n",
      "  String fs_unixPath(String path){\n",
      "    if(path == null)\n",
      "      return \"\";\n",
      "    if(strIsnt(path))\n",
      "      return path;\n",
      "    return strReplace(path, \"\\\\\", \"/\"); \n",
      "  };\n",
      "  String fs_getDir(String path){\n",
      "    // Gets the parent dir of an incomplete or complete path\n",
      "    // Appends `/` where appropriate\n",
      "    path = fs_unixPath(path);\n",
      "    int idx = strIndexOf(path, \"/\");\n",
      "    if(idx == -1)\n",
      "      return \"\";\n",
      "    String dir = strBeforeLast(path, \"/\", true) + \"/\";\n",
      "    return dir;\n",
      "  };\n",
      "  \n",
      "  List fs_listFiles(String dir, String match){\n",
      "    {\n",
      "      TABLE filesT = USE ds=\"AmiLogFile\" _file=\"./${dir}\" _delim=\"\\n\" _fields=\"String line\" EXECUTE SELECT * FROM file;\n",
      "      // Table filesT = select * from files;\n",
      "      // filesT.getColumnLocation(\n",
      "      int linenum_loc = filesT.getColumnLocation(\"line\");\n",
      "      if(linenum_loc != -1)\n",
      "        throw new List(\"Invalid Argument\", \"fs_listFiles: \", \"The path provided is not a directory\", dir );\n",
      "        \n",
      "      String filter = \"true\";\n",
      "      if(strIs(match)){\n",
      "        // Uses simplified text matching\n",
      "        // Ex match = \"AmiOne.log\"\n",
      "        // Ex match = \"AmiMessages.log\"\n",
      "        // Ex match = \"AmiOne.amilog\"\n",
      "        filter = \"name ~~ \\\"\" + match +\"\\\"\";\n",
      "        filesT = filesT.query(\"select * from this WHERE ${filter};\");\n",
      "      }\n",
      "      // create table out = filesT;\n",
      "      List filesList = filesT.toList(\"name\");\n",
      "      return filesList;\n",
      "    }\n",
      "    catch(Object err){\n",
      "      session.alert(new List(\"Unknown Error\", \"fs_listFiles\", dir, match, err));\n",
      "    }\n",
      "  };\n",
      "  List fs_listFiles(String dir){\n",
      "    return fs_listFiles(dir, null); \n",
      "  };\n",
      "  \n",
      "  int form_files_autocomplete(FormTextField ff, String dir, String fileMatch){\n",
      "    // String path = ff.getValue();\n",
      "    // path = fs_t\n",
      "    List files_list = null;\n",
      "    files_list = fs_listFiles(dir, fileMatch);\n",
      "    for(int i = 0; i < files_list.size(); i++){\n",
      "      files_list.set(i, dir + files_list.get(i));\n",
      "    }\n",
      "    // session.alert(files_list);\n",
      "    ff.clearOptions();\n",
      "    ff.setOptions(files_list);\n",
      "  };\n",
      "  \n",
      "  int form_files_show_autocomplete(FormTextField ff, String fileMatch){\n",
      "    // Ex Use: form_files_show_autocomplete(this, \"AmiOne.log\");\n",
      "    String path = fs_unixPath((String)(ff.getValue()));\n",
      "    // If path is empty string or ends with `/`\n",
      "    boolean showAll = strIsnt(path) || strEndsWith(path, \"/\", false);\n",
      "    String dir = fs_getDir(path); // will have / at end if necessary\n",
      "    \n",
      "    // session.log(showAll);\n",
      "    if(showAll){\n",
      "      form_files_autocomplete(ff, dir, null); \n",
      "    }\n",
      "    else{\n",
      "      form_files_autocomplete(ff, dir, fileMatch); \n",
      "    }\n",
      "  };\n",
      "      \n",
      "      \n",
      "  //##### ##### ##### \n",
      "  // VIEW MANAGER \n",
      "  //##### ##### ##### \n",
      "  \n",
      "  \n",
      "  TabsPanel getViewContainerPanel(){\n",
      "    return layout.getPanel(\"SystemsTab\");\n",
      "    // return \"SystemsTab\";\n",
      "  };\n",
      "  \n",
      "  //##### ##### ##### \n",
      "  // VIEW MANAGER Debug\n",
      "  //##### ##### ##### \n",
      "  \n",
      "  //##### ##### ##### \n",
      "  // Debug\n",
      "  //##### ##### ##### \n",
      "  \n",
      "  boolean viewConfig(Map config, String pnlId, String field){\n",
      "    FormPanel f = layout.getPanel(pnlId);\n",
      "    FormField ff = f.getField(field);\n",
      "    \n",
      "    String json = toJson(config, false);\n",
      "    ff.setValue(json);\n",
      "  };\n",
      "  \n",
      "  //##### ##### ##### \n",
      "  // Basic View Methods \n",
      "  //##### ##### ##### \n",
      "  \n",
      "  String getViewId(String id){\n",
      "    String suffix = strAfterLast(id,\"_VIEW_\",false);\n",
      "    return suffix;\n",
      "  };\n",
      "  \n",
      "  String getViewId(Tab t){\n",
      "    Panel innerPanel = t.getInnerPanel();\n",
      "    \n",
      "    return getViewId(innerPanel.getId());\n",
      "  };\n",
      "  \n",
      "  String getBaseView(Tab t){\n",
      "    Panel inner = t.getInnerPanel();\n",
      "    String uiPanelId = inner.getId();\n",
      "    String baseView = strBeforeLast(uiPanelId,\"_VIEW_\",true);\n",
      "    return baseView;\n",
      "  };\n",
      "  String incrementId(String amiId, String newViewId){\n",
      "    return \"${strBeforeLast(amiId, \"_VIEW_\", true)}_VIEW_${newViewId}\";\n",
      "  };\n",
      "  \n",
      "  Panel getPanelForView(String viewid, String id){\n",
      "    String r = id;\n",
      "    if(viewid != null)\n",
      "      r += \"_VIEW_\" + viewid;\n",
      "    return layout.getPanel(r);\n",
      "  };\n",
      "  \n",
      "  Datamodel getDatamodelForView(String viewid, String id){\n",
      "    String r = id;\n",
      "    if(viewid != null)\n",
      "      r += \"_VIEW_\" + viewid;\n",
      "    return layout.getDatamodel(r);\n",
      "  };\n",
      "  \n",
      "  Relationship getRelationshipForView(String viewid, String id){\n",
      "    String r = id;\n",
      "    if(viewid != null)\n",
      "      r += \"_VIEW_\" + viewid;\n",
      "    return layout.getRelationship(r);\n",
      "  };\n",
      "  \n",
      "  Panel getPanelFromView(Tab t, String panelId){\n",
      "    session.alert(\"Deprecated\");\n",
      "    String suffix = getViewId(t);\n",
      "    if(suffix != null){\n",
      "      panelId += \"_VIEW_\"+suffix;\n",
      "    }\n",
      "    return layout.getPanel(panelId);\n",
      "  };\n",
      "  \n",
      "  \n",
      "  Datamodel getDatamodelFromView(Tab t, String dmid){\n",
      "    session.alert(\"Deprecated\");\n",
      "    String suffix = getViewId(t);\n",
      "    if(suffix != null){\n",
      "      dmid += \"_VIEW_\"+suffix;\n",
      "    }\n",
      "    return layout.getDatamodel(dmid);\n",
      "  };\n",
      "  \n",
      "  Relationship getRelationshipFromView(Tab t, String relid){\n",
      "    session.alert(\"Deprecated\");\n",
      "    String suffix = getViewId(t);\n",
      "    if(suffix != null){\n",
      "      relid += \"_VIEW_\"+suffix;\n",
      "    }\n",
      "    return layout.getRelationship(relid);\n",
      "  };\n",
      "  \n",
      "  boolean isView(Tab t){\n",
      "    return (getViewId(t) != null);\n",
      "  };\n",
      "  \n",
      "  String getNextViewId(TabsPanel tabs){\n",
      "    Set existingIds = new Set();\n",
      "    for(int i = 0; i < tabs.getTabsCount(); i++){\n",
      "      Tab t = tabs.getTabAt(i);\n",
      "      String viewId = getViewId(t);\n",
      "      if(existingIds!=null)\n",
      "        existingIds.add(viewId);\n",
      "    }\n",
      "\n",
      "    int nextViewId=0;\n",
      "    \n",
      "    while(existingIds.contains(\"${nextViewId}\")){\n",
      "      nextViewId++;\n",
      "    }\n",
      "    return \"${nextViewId}\";\n",
      "  };\n",
      "  \n",
      "  Set getViewPanelIds(Map config){\n",
      "    Set ids = new Set();\n",
      "    List portlets = config.get(\"portletConfigs\");\n",
      "    \n",
      "    for(int i = 0; i < portlets.size(); i++){\n",
      "      Map portlet = portlets.get(i);\n",
      "      Map portletConfig = portlet.get(\"portletConfig\"); \n",
      "      String amiPanelId = portletConfig.get(\"amiPanelId\");\n",
      "      \n",
      "      ids.add(amiPanelId);\n",
      "    }\n",
      "    return ids;\n",
      "  };\n",
      "  \n",
      "  Set getViewDatamodelIds(Map config){\n",
      "    Set ids = new Set();\n",
      "    List portlets = config.get(\"portletConfigs\");\n",
      "    \n",
      "    for(int i = 0; i < portlets.size(); i++){\n",
      "      Map portlet = portlets.get(i);\n",
      "      Map portletConfig = portlet.get(\"portletConfig\"); \n",
      "      \n",
      "      List dmConfig = portletConfig.get(\"dm\");\n",
      "      for(int j = 0; j < dmConfig.size(); j++){\n",
      "        Map dm = dmConfig.get(j);\n",
      "        String dmadn = dm.get(\"dmadn\");\n",
      "        ids.add(dmadn);\n",
      "      }\n",
      "    }\n",
      "    return ids;\n",
      "    \n",
      "  };\n",
      "  \n",
      "  Set getViewRelationshipIds(Map config){\n",
      "    Set ids = new Set();\n",
      "    List amilinks = config.get(\"ami_links\");\n",
      "    for(int i = 0; i < amilinks.size(); i++){\n",
      "      Map link = amilinks.get(i);\n",
      "      String relid = link.get(\"relid\");\n",
      "      ids.add(relid);\n",
      "    }\n",
      "    return ids;\n",
      "  };\n",
      "  \n",
      "  //##### ##### ##### \n",
      "  // Copying Views + Managing Views\n",
      "  //##### ##### ##### \n",
      "  \n",
      "  boolean incrementPanels(Map config, Set viewPanelIds, Set viewDatamodelIds, String newViewId){\n",
      "    List portlets = config.get(\"portletConfigs\");\n",
      "    \n",
      "    for(int i = 0; i < portlets.size(); i++){\n",
      "      Map portlet = portlets.get(i);\n",
      "      String portletBuilderId = portlet.get(\"portletBuilderId\");\n",
      "      Map portletConfig = portlet.get(\"portletConfig\"); \n",
      "      \n",
      "      // Increment Container children\n",
      "      if(\"div\" == portletBuilderId){\n",
      "        String child1 = portletConfig.get(\"child1\");\n",
      "        if(viewPanelIds.contains(child1))\n",
      "          portletConfig.put(\"child1\", incrementId(child1, newViewId));\n",
      "        String child2 = portletConfig.get(\"child2\");\n",
      "        if(viewPanelIds.contains(child2))\n",
      "          portletConfig.put(\"child2\", incrementId(child2, newViewId));\n",
      "      }\n",
      "      else if(\"tab\" == portletBuilderId){\n",
      "        List tabs = portletConfig.get(\"tabs\");\n",
      "        for(int j = 0; j < tabs.size(); j++){\n",
      "          Map tab = tabs.get(j);\n",
      "          String child = tab.get(\"child\");\n",
      "          if(viewPanelIds.contains(child))\n",
      "            tab.put(\"child\", incrementId(child, newViewId));\n",
      "        }\n",
      "      }\n",
      "      else if(\"scrollpane\" == portletBuilderId){\n",
      "        String child = portletConfig.get(\"child\");\n",
      "        if(viewPanelIds.contains(child))\n",
      "          portletConfig.put(\"child\", incrementId(child, newViewId));\n",
      "      }\n",
      "      else if(\"amichartgrid\" == portletBuilderId){\n",
      "        Map plotConfig = portletConfig.get(\"plotConfig\");\n",
      "        for(String plotId: plotConfig.getKeys()){\n",
      "          Map plot = plotConfig.get(plotId);\n",
      "          List layers = plot.get(\"layers\"); \n",
      "          for(int j = 0; j < layers.size(); j++){\n",
      "            Map layer = layers.get(j);  \n",
      "            String dmadn = layer.get(\"dmadn\");\n",
      "            if(dmadn != null && viewDatamodelIds.contains(dmadn))\n",
      "              layer.put(\"dmadn\", incrementId(dmadn, newViewId));\n",
      "          } \n",
      "        }\n",
      "      }\n",
      "      \n",
      "      \n",
      "      // Increment rt feed\n",
      "      else if(\"Amirealtimeaggtable\" == portletBuilderId || \"amirealtimetable\" == portletBuilderId || \"amirealtimetreemap\" == portletBuilderId){\n",
      "        List rtSources = portletConfig.get(\"rtSources\");\n",
      "        for(int j = 0; j < rtSources.size(); j++){\n",
      "          String source = rtSources.get(j);\n",
      "          if(strStartsWith(source, \"PANEL:\", false)){\n",
      "            String sourcePanel = strAfter(source, \"PANEL:\", false);\n",
      "            if(sourcePanel == null)\n",
      "              throw \"Invalid rtSource\";\n",
      "            \n",
      "            if(viewPanelIds.contains(sourcePanel))\n",
      "              rtSources.set(j, incrementId(source, newViewId));\n",
      "          }\n",
      "        }\n",
      "      }\n",
      "      \n",
      "      \n",
      "      // Increment AmiPanelId upid\n",
      "      String amiPanelId = portletConfig.get(\"amiPanelId\");\n",
      "      portletConfig.put(\"amiPanelId\", incrementId(amiPanelId, newViewId));\n",
      "      String upid = portletConfig.get(\"upid\");\n",
      "      portletConfig.put(\"upid\", incrementId(upid, newViewId));\n",
      "      \n",
      "      // Increment dm if dm is part of view\n",
      "      List dmConfig = portletConfig.get(\"dm\");\n",
      "      for(int j = 0; j < dmConfig.size(); j++){\n",
      "        Map dm = dmConfig.get(j);\n",
      "        String dmadn = dm.get(\"dmadn\");\n",
      "        if(viewDatamodelIds.contains(dmadn))\n",
      "          dm.put(\"dmadn\", incrementId(dmadn, newViewId));\n",
      "      }\n",
      "      \n",
      "      \n",
      "    }\n",
      "  };\n",
      "  \n",
      "  boolean incrementRelationships(Map config, Set viewPanelIds, Set viewDatamodelIds, String newViewId){\n",
      "    Set ids = new Set();\n",
      "    List amilinks = config.get(\"ami_links\");\n",
      "    for(int i = 0; i < amilinks.size(); i++){\n",
      "      Map link = amilinks.get(i);\n",
      "      String relid = link.get(\"relid\");\n",
      "      link.put(\"relid\", incrementId(relid, newViewId));\n",
      "      \n",
      "      // Panels \n",
      "      String spadn = link.get(\"spadn\");\n",
      "      if(spadn!=null && viewPanelIds.contains(spadn))\n",
      "        link.put(\"spadn\", incrementId(spadn, newViewId));\n",
      "        \n",
      "      String tpadn = link.get(\"tpadn\");\n",
      "      if(tpadn!=null && viewPanelIds.contains(tpadn))\n",
      "        link.put(\"tpadn\", incrementId(tpadn, newViewId));\n",
      "        \n",
      "      // Datamodels\n",
      "      String sdmadn = link.get(\"sdmadn\");\n",
      "      if(sdmadn!=null && viewDatamodelIds.contains(sdmadn))\n",
      "        link.put(\"sdmadn\", incrementId(sdmadn, newViewId));\n",
      "        \n",
      "      String tdmadn = link.get(\"tdmadn\");\n",
      "      if(tdmadn!= null && viewDatamodelIds.contains(tdmadn))\n",
      "        link.put(\"tdmadn\", incrementId(tdmadn, newViewId));\n",
      "        \n",
      "        \n",
      "    }\n",
      "  };\n",
      "  \n",
      "  boolean incrementDatamodels(List config, String newViewId){\n",
      "    Set ids = new Set();\n",
      "    for(int i = 0; i < config.size(); i++){\n",
      "      Map dm = config.get(i);\n",
      "      String lbl = dm.get(\"lbl\");\n",
      "      dm.put(\"lbl\", incrementId(lbl, newViewId)); \n",
      "    }\n",
      "  };\n",
      "  \n",
      "  List exportDatamodels(Set viewDmIds){\n",
      "    List r = new List();\n",
      "    for(String lbl: viewDmIds){\n",
      "      Datamodel dm = layout.getDatamodel(lbl);\n",
      "      Map dmConfig = dm.exportConfig();\n",
      "      r.add(dmConfig);\n",
      "    }\n",
      "    return r;\n",
      "  };\n",
      "  \n",
      "  boolean addImportDatamodels(List dmsConfig){\n",
      "    for(int i = 0; i < dmsConfig.size(); i++){\n",
      "      Map dmConfig = dmsConfig.get(i);\n",
      "      String lbl = dmConfig.get(\"lbl\");\n",
      "      Datamodel dm = layout.getDatamodel(lbl);\n",
      "      if(dm == null)\n",
      "        session.importDatamodel(dmConfig);\n",
      "    }\n",
      "  };\n",
      "  \n",
      "\n",
      "  \n",
      "  Tab createView(String viewName, TabsPanel tabsPanel, Panel baseView, String newViewId){\n",
      "    \n",
      "    // Export Panel & Relationship Config \n",
      "    String topPanel = baseView.getId();\n",
      "    Map baseConfig = baseView.exportConfigIncludeExternalRelationships();\n",
      "    // viewConfig(baseConfig, \"PNL1\", \"textarea\");\n",
      "    \n",
      "    // Get View Panels, Dms, Relationships\n",
      "    Set basePanelIds = getViewPanelIds(baseConfig);\n",
      "    Set baseDatamodelIds = getViewDatamodelIds(baseConfig);\n",
      "    Set baseRelationshipIds = getViewRelationshipIds(baseConfig);\n",
      "    \n",
      "    //Export Dm Config\n",
      "    List dmsConfig = exportDatamodels(baseDatamodelIds);\n",
      "    \n",
      "    // Update ids\n",
      "    incrementPanels(baseConfig, basePanelIds, baseDatamodelIds, newViewId);\n",
      "    incrementRelationships(baseConfig, basePanelIds, baseDatamodelIds, newViewId);\n",
      "    incrementDatamodels(dmsConfig, newViewId);\n",
      "    baseConfig.put(\"topAmiPanelId\", incrementId(topPanel, newViewId));\n",
      "    viewConfig(baseConfig, \"PNL1\", \"textarea1\");\n",
      "    \n",
      "    // Import datamodels\n",
      "    addImportDatamodels(dmsConfig);\n",
      "    // Add tab\n",
      "    Map newConfig = baseConfig;\n",
      "    int newPosition = tabsPanel.getTabsCount();\n",
      "    Tab newTab = tabsPanel.addTab(newPosition, viewName, newConfig);\n",
      "    return newTab;\n",
      "  };\n",
      "  \n",
      "  Tab createView(String viewName, TabsPanel tabsPanel, Panel baseView){\n",
      "    String newViewId = getNextViewId(tabsPanel);\n",
      "    return createView(viewName, tabsPanel, baseView, newViewId);\n",
      "  };\n",
      "  \n",
      "  \n",
      "  boolean closeView(Tab view){\n",
      "    if(isView(view)){\n",
      "      view.hideTab();\n",
      "      Panel innerPanel = view.getInnerPanel();\n",
      "      innerPanel.close();\n",
      "    }\n",
      "    \n",
      "    // boolean ih = view.isHidden();\n",
      "  };\n",
      "  \n",
      "  String getStatusCloseViewMenu(MenuItem m){\n",
      "    TabsPanel p = m.getPanel();\n",
      "    Tab t = p.getSelectedTab();\n",
      "    return isView(t) ?\"enabled\":\"disabled\";\n",
      "  };\n",
      "  boolean closeViewMenu(MenuItem m){\n",
      "    TabsPanel p = m.getPanel();\n",
      "    Tab t = p.getSelectedTab();\n",
      "    closeView(t);\n",
      "  };\n",
      "  \n",
      "  //##### ##### ##### \n",
      "  // Saving/Loading Views To Preferences\n",
      "  //##### ##### ##### \n",
      "  \n",
      "  boolean getCustomViews(TabsPanel tabs, List sink){\n",
      "    String tabsPanelId = tabs.getId();\n",
      "    for(int i = 0; i < tabs.getTabsCount(); i++){\n",
      "      Tab t = tabs.getTabAt(i);\n",
      "      \n",
      "      if(isView(t)){\n",
      "        Map m = new Map();\n",
      "        m.put(\"tabsPanelId\", tabsPanelId);\n",
      "        m.put(\"viewId\", getViewId(t));\n",
      "        m.put(\"title\", t.getTitle());\n",
      "        m.put(\"baseView\", getBaseView(t));\n",
      "        sink.add(m);\n",
      "      }\n",
      "    }\n",
      "  };\n",
      "  \n",
      "  boolean savePrefCustomViews(List tabsPanelIds, List userPrefs){\n",
      "    List customViews = new List();\n",
      "    for(int i = 0; i < tabsPanelIds.size(); i++){\n",
      "      String tabsPanelId = tabsPanelIds.get(i);\n",
      "      TabsPanel tp = layout.getPanel(tabsPanelId);\n",
      "      getCustomViews(tp, customViews);\n",
      "    }\n",
      "    session.putCustomPreference(\"__CUSTOM_VIEWS\", customViews);\n",
      "    Map pref = new Map();\n",
      "    pref.put(\"cpid\", \"__CUSTOM_VIEWS\");\n",
      "    pref.put(\"pref\", customViews);\n",
      "    userPrefs.add(pref);\n",
      "  };\n",
      "  \n",
      "  boolean loadPrefCustomViews(List userPrefs){\n",
      "    \n",
      "    List customViews = session.getCustomPreference(\"__CUSTOM_VIEWS\");\n",
      "    if(customViews!=null)\n",
      "      for(int i = 0; i< customViews.size(); i++){\n",
      "        Map m = customViews.get(i);\n",
      "        String viewId = m.get(\"viewId\");\n",
      "        String baseViewId = m.get(\"baseView\");\n",
      "        \n",
      "        // Check if the view already exists\n",
      "        String targetViewId = incrementId(baseViewId, viewId);\n",
      "        Panel targetViewPanel = layout.getPanel(targetViewId); \n",
      "        if(targetViewPanel != null)\n",
      "          continue;\n",
      "          \n",
      "        String tabsPanelId = m.get(\"tabsPanelId\");\n",
      "        String title = m.get(\"title\");\n",
      "      \n",
      "        TabsPanel tp = layout.getPanel(tabsPanelId);\n",
      "        Panel baseView = layout.getPanel(baseViewId); \n",
      "        createView(title, tp, baseView, viewId);\n",
      "      }\n",
      "  };\n",
      "  boolean loadFormFieldValues(List userPrefs){\n",
      "    // Get Preference\n",
      "    List formFieldValues = session.getCustomPreference(\"__CUSTOM_FORM_FIELD_VALUES\");\n",
      "    if(formFieldValues!= null){\n",
      "      // Loop through all the saved formms\n",
      "      for(int i = 0; i < formFieldValues.size(); i ++){\n",
      "        Map formMap = formFieldValues.get(i); \n",
      "        String panelId = formMap.get(\"panelId\");\n",
      "        Map fieldValues = formMap.get(\"fieldValues\");\n",
      "        \n",
      "        FormPanel fp = layout.getPanel(panelId);\n",
      "        // Get all the fields and\n",
      "        for(String varName : fieldValues.getKeys()){\n",
      "          Object value = fieldValues.get(varName);\n",
      "          FormField ff =  fp.getField(varName);\n",
      "          ff.setValue(value);\n",
      "        }\n",
      "        \n",
      "      }\n",
      "    }\n",
      "\n",
      "    \n",
      "  };\n",
      "  boolean saveFormFieldValues(List formPanelIds, List userPrefs){\n",
      "    List formFieldValues = new List();\n",
      "    for(int i = 0; i < formPanelIds.size(); i++){\n",
      "      String panelId = formPanelIds.get(i);\n",
      "      FormPanel fp = layout.getPanel(panelId);\n",
      "      Map formMap = new Map(); \n",
      "      \n",
      "      Map fieldValues = new Map();\n",
      "      List fields = fp.getFields();\n",
      "      for(int j = 0; j < fields.size(); j++){\n",
      "        FormField ff = fields.get(j);\n",
      "        String varName = ff.getVariableName();\n",
      "        Object value = ff.getValue();\n",
      "        fieldValues.put(varName, value);\n",
      "      }\n",
      "      \n",
      "      \n",
      "      formMap.put(\"panelId\", panelId);\n",
      "      formMap.put(\"fieldValues\", fieldValues);\n",
      "      formFieldValues.add(formMap);\n",
      "    }\n",
      "    session.putCustomPreference(\"__CUSTOM_FORM_FIELD_VALUES\", formFieldValues);\n",
      "    Map pref = new Map();\n",
      "    pref.put(\"cpid\",\"__CUSTOM_FORM_FIELD_VALUES\");\n",
      "    pref.put(\"pref\", formFieldValues);\n",
      "    userPrefs.add(pref);\n",
      "  };\n",
      "  \n",
      "  boolean saveSystemControlsPanels(List userPrefs){\n",
      "    TabsPanel tabs = getViewContainerPanel();\n",
      "    List formIds = new List();\n",
      "    for(int i = 0; i < tabs.getTabsCount(); i++){\n",
      "      Tab t = tabs.getTabAt(i);\n",
      "      FormPanel fp = getPanelForView(getViewId(t),\"SystemControls\");\n",
      "      formIds.add(fp.getId());\n",
      "    }\n",
      "    saveFormFieldValues(formIds, userPrefs);\n",
      "  };\n",
      "  \n",
      "  boolean refreshLogViews(){\n",
      "    TabsPanel tabs = getViewContainerPanel();\n",
      "    for(int i = 0; i < tabs.getTabsCount(); i++){\n",
      "      Tab t = tabs.getTabAt(i);\n",
      "      FormPanel fp = getPanelForView(getViewId(t),\"SystemControls\");\n",
      "      FormButtonField fb = fp.getField(\"refreshall\");\n",
      "      fb.click();\n",
      "    }\n",
      "  };\n",
      "  \n",
      "  boolean onStartupPref(Session sess){\n",
      "    session_init();\n",
      "  };\n",
      "  \n",
      "  boolean onLoadingPref(Session sess, List userPrefs){\n",
      "    loadPrefCustomViews(userPrefs);\n",
      "    loadFormFieldValues(userPrefs);\n",
      "    refreshLogViews();\n",
      "  };\n",
      "  \n",
      "  boolean onSavingPref(Session sess, List userPrefs){\n",
      "    savePrefCustomViews(new List(\"SystemsTab\"), userPrefs);\n",
      "    saveSystemControlsPanels(userPrefs);\n",
      "  };\n",
      "  \n",
      "  Object removeQuote(String value) {\n",
      "    return strStartsWith(value, \"\\\"\", false) || (strEndsWith(value, \"\\\"\", false)) ? strSubstring(value, 1, strLen(value) - 1) : value;\n",
      "    \n",
      "  };\n",
      "\n",
      "  List listFromFile(){\n",
      "    FormPanel fp = layout.getPanel(\"SystemControls\");\n",
      "    FormUploadField fuf = fp.getField(\"uploadFF\");\n",
      "    Binary st = fuf.getFileBinaryData();\n",
      "    String ss = binaryToStr(st);\n",
      "    List l = strSplitLines(ss);\n",
      "    for(int i=0;i<l.size();i++) { \n",
      "      String lVal = l.get(i);\n",
      "      l.set(i,strSplitToMap(lVal, \"|\", \"=\"));\n",
      "    }\n",
      "    return l;\n",
      "  };\n",
      "  \n",
      "  Table tableFromFileM(String tableName, String tabName, List tabCols, List tabColsTypes, List lm) {\n",
      "    Map tabMap = new Map();\n",
      "    List li = new List();\n",
      "    \n",
      "    for(int i = 0; i < tabCols.size(); i++){\n",
      "      String col = tabCols.get(i);\n",
      "      tabMap.put(col, li);\n",
      "    }\n",
      "    \n",
      "    for(int i = 0; i < tabCols.size(); i++){\n",
      "        String col = tabCols.get(i);\n",
      "        if (col == \"T\") {\n",
      "            col = \"O|T\";\n",
      "        }\n",
      "        \n",
      "        List l = new List();\n",
      "        for(Map m: lm){\n",
      "            list fileVals = m.getValues();\n",
      "            \n",
      "            if (tabName == \"summary\") {\n",
      "              String o1 = m.get(col);\n",
      "              Object o2 = removeQuote(o1);\n",
      "              l.add(o2);\n",
      "            } \n",
      "            if (fileVals.contains(tableName)) {\n",
      "              String o1 = m.get(col);\n",
      "              Object o2 = removeQuote(o1);\n",
      "              l.add(o2);\n",
      "            } \n",
      "        }\n",
      "        if (col == \"O|T\") {\n",
      "            col = \"T\";\n",
      "            tabMap.put(col, l);\n",
      "        } else {\n",
      "            tabMap.put(col, l);\n",
      "        }\n",
      "    }\n",
      "\n",
      "\n",
      "    Table t = new Table(tabName, tabMap);\n",
      "    Create Table ${tabName} = t;\n",
      "    for(int i = 0; i < tabCols.size(); i++){\n",
      "      String col = tabCols.get(i);\n",
      "      String colType = tabColsTypes.get(i);\n",
      "      ALTER TABLE ${tabName} MODIFY ${col} AS ${col} ${colType};\n",
      "    }\n",
      "  };\n",
      "}"
    ],
    "browserTitle":"Ami Log Viewer",
    "callbacks":{
      "entries":[
        {
          "amiscript":"onLoadingPref(session, userPrefs);",
          "linkedVariables":[
          ],
          "name":"onUserPrefsLoading"
        },
        {
          "amiscript":"onSavingPref(session, userPrefs);",
          "linkedVariables":[
          ],
          "name":"onUserPrefsSaving"
        },
        {
          "amiscript":"onStartupPref(session);",
          "linkedVariables":[
          ],
          "name":"onStartup",
          "schema":{
            "tbl":[
              {
                "cols":[
                  {
                    "nm":"TABLE",
                    "tp":"String"
                  },
                  {
                    "nm":"TYPE",
                    "tp":"String"
                  },
                  {
                    "nm":"NAME",
                    "tp":"String"
                  },
                  {
                    "nm":"EST_MEMORY",
                    "tp":"Long"
                  },
                  {
                    "nm":"COUNT",
                    "tp":"Integer"
                  },
                  {
                    "nm":"CARDINALITY",
                    "tp":"Integer"
                  },
                  {
                    "nm":"COMMENT",
                    "tp":"String"
                  },
                  {
                    "nm":"AVG_LENGTH",
                    "tp":"Double"
                  }
                ],
                "nm":"current_diagnose",
                "oc":"ask"
              },
              {
                "cols":[
                  {
                    "nm":"TABLE",
                    "tp":"String"
                  },
                  {
                    "nm":"TYPE",
                    "tp":"String"
                  },
                  {
                    "nm":"NAME",
                    "tp":"String"
                  },
                  {
                    "nm":"EST_MEMORY",
                    "tp":"Long"
                  },
                  {
                    "nm":"COUNT",
                    "tp":"Integer"
                  },
                  {
                    "nm":"CARDINALITY",
                    "tp":"Integer"
                  },
                  {
                    "nm":"COMMENT",
                    "tp":"String"
                  },
                  {
                    "nm":"AVG_LENGTH",
                    "tp":"Double"
                  }
                ],
                "nm":"full_diagnose",
                "oc":"ask"
              }
            ]
          }
        }
      ]
    },
    "customPrefsImportMode":"accept",
    "dm":{
      "dms":[
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "String filename = wheres.get(\"filename\");\n",
                  "\n",
                  "  if(strIsnt(filename))\n",
                  "    session.alert(\"Please provide a AmiOne log file\");\n",
                  "  CREATE TABLE AmiOne_log AS USE _file=\"${filename}\" _delim=\"\\n\" _quote=\"\\\"\" _escape=\"\\\\\" _skipLines=\"0\" \n",
                  "  _fields=\"Integer linenum, String line\"  \n",
                  "  EXECUTE \n",
                  "    SELECT * FROM file WHERE ${WHERE};\n",
                  "  \n",
                  "  // CREATE TABLE AmiOne_log AS USE _file=\"${filename}\" _delim=\"|\" _quote=\"\\\"\" _escape=\"\\\\\" _skipLines=\"0\" \n",
                  "  // _fields=\"String line\"  \n",
                  "  // _filterIn=\"AmiDatasourceRunner_Query::innerRun\" \n",
                  "  // EXECUTE \n",
                  "  //   SELECT * FROM file WHERE ${WHERE};\n",
                  "\n",
                  "  CREATE TABLE AmiOne_log_queries_innerRun AS SELECT \n",
                  "    linenum,\n",
                  "    line\n",
                  "  FROM AmiOne_log WHERE line ~~ \"AmiDatasourceRunner_Query::innerRun\" && line ~~\"^INF\";\n",
                  "  \n",
                  "  CREATE TABLE AmiOne_log_queries (linenum int, line String, datetime_str String, datetime_tx long, thread String, user String, ds String, micros Long, query String, isError boolean); \n",
                  "  \n",
                  "  // Successful queries\n",
                  "  INSERT INTO AmiOne_log_queries(linenum, line, datetime_str, datetime_tx, thread, user, ds, micros, query, isError) \n",
                  "  FROM SELECT \n",
                  "    linenum,\n",
                  "    line,\n",
                  "    strCut(line, \" \",\"1-2\") as datetime_str,\n",
                  "    (long)(parseDate( strCut(line, \" \",\"1-2\"), \"yyyyMMdd-hh:mm:ss.SSS z\"))  as datetime_tx,\n",
                  "    strCut(line, \" \",\"3\") as thread,\n",
                  "    strCut(line, \" \",\"7\") as user,\n",
                  "    strCut(line, \" \",\"12\") as ds,\n",
                  "    (long)strCut(line, \" \",\"14\") as micros,\n",
                  "    strCut(line, \" \",\"16-\") as query,\n",
                  "    false\n",
                  "  FROM AmiOne_log_queries_innerRun WHERE line !~ \"error\";\n",
                  "  \n",
                  "  \n",
                  "  // Error queries\n",
                  "  INSERT INTO AmiOne_log_queries(linenum, line, datetime_str, datetime_tx, thread, user, ds, micros, query, isError) \n",
                  "  FROM SELECT \n",
                  "    linenum,\n",
                  "    line,\n",
                  "    strCut(line, \" \",\"1-2\") as datetime_str,\n",
                  "    (long)(parseDate( strCut(line, \" \",\"1-2\"), \"yyyyMMdd-hh:mm:ss.SSS z\"))  as datetime_tx,\n",
                  "    strCut(line, \" \",\"3\") as thread,\n",
                  "    strCut(line, \" \",\"7\") as user,\n",
                  "    strCut(line, \" \",\"12\") as ds,\n",
                  "    0 as micros,\n",
                  "    strCut(line, \" \",\"15-\") as query,\n",
                  "    true\n",
                  "  FROM AmiOne_log_queries_innerRun WHERE line ~~ \"error\";\n",
                  "  drop table AmiOne_log_queries_innerRun;\n",
                  "}\n"
                ],
                "defaultDs":"AmiLogFile",
                "hasDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"AmiOne_log_queries",
                      "oc":"ask"
                    }
                  ]
                },
                "testInputType":"cust",
                "testInputs":{
                  "WHERE":"",
                  "filename":"\"AmiOne.log\""
                }
              }
            ]
          },
          "datasources":[
            "AmiLogFile"
          ],
          "lbl":"AmiOne_log_query_performance",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "String legendGroup = wheres.get(\"legendGroup\");\n",
                  "  // String legendGroup = wheres.get(\"legendGroup\");\n",
                  "  if(strIsnt(legendGroup))\n",
                  "    legendGroup=\"ds\";\n",
                  "  CREATE TABLE AmiOne_log_full AS SELECT *, ${legendGroup} as legendGroup FROM AmiOne_log_queries;\n",
                  "  CREATE TABLE AmiOne_log_queries AS SELECT * FROM AmiOne_log_full WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "AmiOne_log_query_performance"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"legendGroup",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log_full",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"legendGroup",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log_queries",
                      "oc":"ask"
                    }
                  ]
                },
                "testInputType":"relationship"
              }
            ]
          },
          "lbl":"AmiOne_log_query_performance_chart",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "String filterGroup = wheres.get(\"filterGroup\");\n",
                  "  // String filterGroup = wheres.get(\"filterGroup\");\n",
                  "  CREATE TABLE AmiOne_log_queries AS SELECT * FROM AmiOne_log_queries WHERE ${WHERE};\n",
                  "  \n",
                  "  if(strIsnt(filterGroup))\n",
                  "    filterGroup = \"ds\";\n",
                  "  create table filters as select \"${filterGroup}\" as filterName, ${filterGroup} as filterValues from AmiOne_log_queries group by ${filterGroup};\n",
                  "  // CREATE TABLE AmiOne_log AS SELECT * FROM AmiOne_log WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "AmiOne_log_query_performance"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"AmiOne_log_queries",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"filterName",
                          "tp":"String"
                        },
                        {
                          "nm":"filterValues",
                          "tp":"String"
                        }
                      ],
                      "nm":"filters",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"AmiOne_log_query_performance_filter",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE AmiOne_log_queries AS SELECT * FROM AmiOne_log_queries WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "AmiOne_log_query_performance_chart"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"legendGroup",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log_full",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"line",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_str",
                          "tp":"String"
                        },
                        {
                          "nm":"datetime_tx",
                          "tp":"Long"
                        },
                        {
                          "nm":"thread",
                          "tp":"String"
                        },
                        {
                          "nm":"user",
                          "tp":"String"
                        },
                        {
                          "nm":"ds",
                          "tp":"String"
                        },
                        {
                          "nm":"micros",
                          "tp":"Long"
                        },
                        {
                          "nm":"query",
                          "tp":"String"
                        },
                        {
                          "nm":"isError",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"legendGroup",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiOne_log_queries",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"AmiOne_log_query_performance_table",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  {\n",
                  "  // CREATE TABLE _COLUMN AS USE  EXECUTE SELECT TableName, ColumnName, ColumnFormula, DataType, NoNull, Position, DefinedBy FROM __COLUMN WHERE ${WHERE};\n",
                  "  // CREATE TABLE Tables AS select *, count(ColumnName) as Row_Count from _COLUMN GROUP BY TableName;\n",
                  "  // CREATE TABLE tableNames AS USE EXECUTE select * from __TABLE;\n",
                  "  \n",
                  "  // CREATE TABLE NewTables as select * from tableNames JOIN Tables ON tableNames.TableName == Tables.TableName;\n",
                  "  \n",
                  "  CREATE TABLE Tables as execute select * from show tables;\n",
                  "}\n",
                  "\n",
                  "}\n"
                ],
                "defaultDs":"AMI",
                "hasDatamodel":true,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"TableName",
                          "tp":"String"
                        },
                        {
                          "nm":"Broadcast",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"RefreshPeriodMs",
                          "tp":"Long"
                        },
                        {
                          "nm":"PersistEngine",
                          "tp":"String"
                        },
                        {
                          "nm":"OnUndefColumn",
                          "tp":"String"
                        },
                        {
                          "nm":"DefinedBy",
                          "tp":"String"
                        },
                        {
                          "nm":"RowCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"ColumnsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Tables",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "datasources":[
            "AMI"
          ],
          "lbl":"DiagnoseTableList",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE _PROCEDURE AS USE  EXECUTE SELECT ProcedureName, ProcedureType, ReturnType, Arguments, Options, DefinedBy FROM __PROCEDURE WHERE ${WHERE};\n",
                  "}\n"
                ],
                "defaultDs":"AMI",
                "hasDatamodel":true,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"ProcedureName",
                          "tp":"String"
                        },
                        {
                          "nm":"ProcedureType",
                          "tp":"String"
                        },
                        {
                          "nm":"ReturnType",
                          "tp":"String"
                        },
                        {
                          "nm":"Arguments",
                          "tp":"String"
                        },
                        {
                          "nm":"Options",
                          "tp":"String"
                        },
                        {
                          "nm":"DefinedBy",
                          "tp":"String"
                        }
                      ],
                      "nm":"_PROCEDURE",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "datasources":[
            "AMI"
          ],
          "lbl":"__PROCEDURE",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE _TIMER AS USE  EXECUTE SELECT TimerName, TimerType, `Priority`, Schedule, Options, DefinedBy, LastRunTime, NextRunTime, Enabled FROM __TIMER WHERE ${WHERE};\n",
                  "}\n"
                ],
                "defaultDs":"AMI",
                "hasDatamodel":true,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"TimerName",
                          "tp":"String"
                        },
                        {
                          "nm":"TimerType",
                          "tp":"String"
                        },
                        {
                          "nm":"Priority",
                          "tp":"String"
                        },
                        {
                          "nm":"Schedule",
                          "tp":"String"
                        },
                        {
                          "nm":"Options",
                          "tp":"String"
                        },
                        {
                          "nm":"DefinedBy",
                          "tp":"String"
                        },
                        {
                          "nm":"LastRunTime",
                          "tp":"UTC"
                        },
                        {
                          "nm":"NextRunTime",
                          "tp":"UTC"
                        },
                        {
                          "nm":"Enabled",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"_TIMER",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "datasources":[
            "AMI"
          ],
          "lbl":"__TIMER",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE _TRIGGER AS USE  EXECUTE SELECT TriggerName, TableName, TriggerType, `Priority`, Options, DefinedBy, Enabled FROM __TRIGGER WHERE ${WHERE};\n",
                  "}\n"
                ],
                "defaultDs":"AMI",
                "hasDatamodel":true,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"TriggerName",
                          "tp":"String"
                        },
                        {
                          "nm":"TableName",
                          "tp":"String"
                        },
                        {
                          "nm":"TriggerType",
                          "tp":"String"
                        },
                        {
                          "nm":"Priority",
                          "tp":"String"
                        },
                        {
                          "nm":"Options",
                          "tp":"String"
                        },
                        {
                          "nm":"DefinedBy",
                          "tp":"String"
                        },
                        {
                          "nm":"Enabled",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"_TRIGGER",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "datasources":[
            "AMI"
          ],
          "lbl":"__TRIGGER",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  create table x (a int);\n",
                  "  getDiagnose();\n",
                  "}\n"
                ],
                "defaultDs":"AMI",
                "hasDatamodel":true,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"TABLE",
                          "tp":"String"
                        },
                        {
                          "nm":"TYPE",
                          "tp":"String"
                        },
                        {
                          "nm":"NAME",
                          "tp":"String"
                        },
                        {
                          "nm":"EST_MEMORY",
                          "tp":"Long"
                        },
                        {
                          "nm":"COUNT",
                          "tp":"Integer"
                        },
                        {
                          "nm":"CARDINALITY",
                          "tp":"Integer"
                        },
                        {
                          "nm":"COMMENT",
                          "tp":"String"
                        }
                      ],
                      "nm":"current_diagnose",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"TABLE",
                          "tp":"String"
                        },
                        {
                          "nm":"TYPE",
                          "tp":"String"
                        },
                        {
                          "nm":"NAME",
                          "tp":"String"
                        },
                        {
                          "nm":"EST_MEMORY",
                          "tp":"Long"
                        },
                        {
                          "nm":"COUNT",
                          "tp":"Integer"
                        },
                        {
                          "nm":"CARDINALITY",
                          "tp":"Integer"
                        },
                        {
                          "nm":"COMMENT",
                          "tp":"String"
                        }
                      ],
                      "nm":"full_diagnose",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"a",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"x",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "datasources":[
            "AMI"
          ],
          "lbl":"dm_diagnose",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE _ AS USE ds=${dsSelVal} _file=\"/./\" _delim=\"\\n\" _fields=\"String line\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "  create table _ as select *, name as key from _ where name =~\"\\\\.amilog\\\\.?\";\n",
                  "  insert into _ values(null,null,\"--Select a file\", \"\");\n",
                  "  create table _ as select * from _ order by key;\n",
                  "}\n"
                ],
                "customFormats":[
                  {
                    "ari":"FIELDVALUE:SystemControls?refreshall?",
                    "customFormat":0
                  }
                ],
                "domEvents":[
                  {
                    "ari":"FIELDVALUE:SystemControls?refreshall?",
                    "domEvent":1
                  }
                ],
                "hasDatamodel":true,
                "limit":10000,
                "linkedVariables":[
                  {
                    "ari":"FIELDVALUE:SystemControls?dsSelect?",
                    "varName":"dsSelVal"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls?refreshall?",
                    "varName":"refreshall"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"lastmodified",
                          "tp":"Long"
                        },
                        {
                          "nm":"size",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"key",
                          "tp":"String"
                        }
                      ],
                      "nm":"_",
                      "oc":"ask"
                    }
                  ]
                },
                "timeout":100000
              }
            ]
          },
          "datasources":[
            "AmiLogFile"
          ],
          "lbl":"filenames",
          "maxRequery":240000,
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "Boolean fromUpload = wheres.get(\"fromUpload\");\n",
                  "  if (fromUpload) {\n",
                  "    \n",
                  "    List lf = listFromFile();\n",
                  "    \n",
                  "    String nMemory = \"\\\"Memory\\\"\";\n",
                  "    String MemoryName = \"memory\";\n",
                  "    List MemoryList = new list(\"T\", \"now\", \"name\", \"commited\", \"initial\", \"max\", \"used\");\n",
                  "    List MemoryTypes = new list(\"String\", \"Long\", \"String\", \"Long\", \"Long\", \"Long\", \"Long\");\n",
                  "    tableFromFileM(nMemory, MemoryName, MemoryList, MemoryTypes, lf);\n",
                  "    \n",
                  "    String nProcess = \"\\\"Process\\\"\";\n",
                  "    String ProcessName = \"process\";\n",
                  "    List ProcessList = new list(\"T\", \"now\", \"freeMem\", \"maxMem\", \"totMem\", \"threadBlocked\", \"threadsNew\", \"threadsRunnable\", \"threadsTimedWaiting\", \"threadsWaiting\");\n",
                  "    List ProcessTypes = new list(\"String\", \"Long\", \"Long\", \"Long\", \"Long\", \"Integer\", \"Integer\", \"Integer\", \"Integer\", \"Integer\");\n",
                  "    tableFromFileM(nProcess, ProcessName, ProcessList, ProcessTypes, lf);\n",
                  "    \n",
                  "    String nPartition = \"\\\"Partition\\\"\";\n",
                  "    String PartitionName = \"tPartition\";\n",
                  "    List PartitionList = new list(\"T\", \"now\", \"added\", \"processed\", \"totExecTime\", \"execs\", \"inThreadPool\", \"name\", \"startTime\");\n",
                  "    List ParitionType = new list(\"String\", \"Long\",\"Long\", \"Long\", \"Long\", \"Long\", \"Boolean\", \"String\", \"Long\");\n",
                  "    tableFromFileM(nPartition, PartitionName, PartitionList, ParitionType, lf);\n",
                  "    \n",
                  "    String nDispatcher = \"\\\"Dispatcher\\\"\";\n",
                  "    String DispatcherName = \"dispatcher\";\n",
                  "    List DispatcherList = new list(\"T\", \"now\", \"added\",\"processed\", \"totExecTime\", \"execs\", \"inThreadPoolCount\", \"partitionsCount\");\n",
                  "    List DispatcherType = new list(\"String\", \"Long\", \"Long\", \"Long\", \"Long\", \"Long\", \"Long\", \"Integer\");\n",
                  "    tableFromFileM(nDispatcher, DispatcherName, DispatcherList, DispatcherType, lf);\n",
                  "    \n",
                  "    String nTopic = \"\\\"Topic\\\"\";\n",
                  "    String TopicName = \"topic\";\n",
                  "    List TopicList = new list(\"T\", \"now\", \"dir\", \"name\", \"msgCount\", \"connections\");\n",
                  "    List TopicTypes = new list(\"String\", \"Long\", \"String\", \"String\", \"Long\", \"Integer\");\n",
                  "    tableFromFileM(nTopic, TopicName, TopicList, TopicTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterObjects = \"\\\"AmiCenterObjects\\\"\";\n",
                  "    String AmiCenterObjectsName = \"AmiCenterObjects\";\n",
                  "    List AmiCenterObjectsList = new list(\"T\", \"now\", \"type\", \"count\");\n",
                  "    List AmiCenterObjectsTypes = new list(\"String\", \"Long\", \"String\", \"Integer\");\n",
                  "    tableFromFileM(nAmiCenterObjects, AmiCenterObjectsName, AmiCenterObjectsList, AmiCenterObjectsTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterTables = \"\\\"AmiCenterTables\\\"\";\n",
                  "    String AmiCenterTablesName = \"AmiCenterTables\";\n",
                  "    List AmiCenterTablesList = new list(\"T\", \"now\", \"type\", \"count\");\n",
                  "    List AmiCenterTablesTypes = new list(\"String\", \"Long\", \"String\", \"Integer\");\n",
                  "    tableFromFileM(nAmiCenterTables, AmiCenterTablesName, AmiCenterTablesList, AmiCenterTablesTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterEvents = \"\\\"AmiCenterEvents\\\"\";\n",
                  "    String AmiCenterEventsName = \"AmiCenterEvents\";\n",
                  "    List AmiCenterEventsList = new list(\"logouts\", \"T\", \"objsCount\", \"dels\", \"commandDefs\", \"relayEvents\", \"objExpires\", \"delUnks\", \"objs\", \"snapshots\" , \"dsQueries\", \"rowsCount\", \"now\", \"relaysCount\", \"upds\", \"logins\", \"events\", \"strPoolSize\");\n",
                  "    List AmiCenterEventsTypes = new list(\"Long\" , \"String\" , \"Long\" , \"Long\" , \"Long\" , \"Long\" , \"Long\" , \"Long\" , \"Long\" , \"Long\"  , \"Long\" , \"Long\" , \"Long\" , \"Integer\" , \"Long\" , \"Long\" , \"Long\" , \"Integer\");\n",
                  "    tableFromFileM(nAmiCenterEvents, AmiCenterEventsName, AmiCenterEventsList, AmiCenterEventsTypes, lf);\n",
                  "    \n",
                  "    String nAmiWebHttpServer = \"\\\"AmiWebHttpServer\\\"\";\n",
                  "    String AmiWebHttpServerName = \"AmiWebHttpServer\";\n",
                  "    List AmiWebHttpServerList = new list(\"T\", \"now\", \"activeSessions\", \"httpServices\", \"activeConnections\", \"userRows\", \"userHiddenRows\", \"cachedRows\", \"centersConnected\", \"openedConnections\");\n",
                  "    List AmiWebHttpServerTypes = new list(\"String\", \"Long\", \"Integer\", \"Long\", \"Long\", \"Long\", \"Long\", \"Integer\", \"Integer\", \"Long\");\n",
                  "    tableFromFileM(nAmiWebHttpServer, AmiWebHttpServerName, AmiWebHttpServerList, AmiWebHttpServerTypes, lf);\n",
                  "    \n",
                  "    String nAmiWebBalancerServer =\"\\\"AmiWebBalancerServer\\\"\";\n",
                  "    String AmiWebBalancerServerName = \"AmiWebBalancerServer\";\n",
                  "    List AmiWebBalancerServerList = new list(\"T\", \"now\", \"address\", \"activeSessions\", \"status\");\n",
                  "    List AmiWebBalancerServerTypes = new list(\"String\", \"Long\", \"String\", \"Integer\", \"String\");\n",
                  "    tableFromFileM(nAmiWebBalancerServer, AmiWebBalancerServerName, AmiWebBalancerServerList, AmiWebBalancerServerTypes, lf);\n",
                  "    \n",
                  "    String nAmiWebBalancerClient =\"\\\"AmiWebBalancerClient\\\"\";\n",
                  "    String AmiWebBalancerClientName = \"AmiWebBalancerClient\";\n",
                  "    List AmiWebBalancerClientList = new list(\"T\", \"now\", \"address\", \"startTime\", \"IdleSince\", \"target\", \"connections\", \"bytesToServer\", \"bytesToClient\");\n",
                  "    List AmiWebBalancerClientTypes = new list(\"String\", \"Long\", \"String\", \"Long\", \"Long\", \"String\", \"Long\", \"Long\", \"Long\");\n",
                  "    tableFromFileM(nAmiWebBalancerClient, AmiWebBalancerClientName, AmiWebBalancerClientList, AmiWebBalancerClientTypes, lf);\n",
                  "    \n",
                  "    String nAmiWebBalancerStats = \"\\\"AmiWebBalancerStats\\\"\";\n",
                  "    String AmiWebBalancerStatsName = \"AmiWebBalancerStats\";\n",
                  "    List AmiWebBalancerStatsList = new list(\"T\", \"now\", \"clientsActive\", \"clientsIdle\", \"serversUp\", \"serversDown\", \"activeConnections\", \"totBytesToServers\", \"totBytesToClients\", \"stickyCount\");\n",
                  "    List AmiWebBalancerStatsTypes = new list(\"String\", \"Long\", \"Integer\", \"Integer\", \"Integer\", \"Integer\", \"Long\", \"Long\", \"Long\", \"Integer\");\n",
                  "    tableFromFileM(nAmiWebBalancerStats, AmiWebBalancerStatsName, AmiWebBalancerStatsList, AmiWebBalancerStatsTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterTimers = \"\\\"AmiCenterTimers\\\"\";\n",
                  "    String AmiCenterTimersName = \"AmiCenterTimers\";\n",
                  "    List AmiCenterTimersList = new list(\"T\", \"now\", \"name\", \"count\", \"millis\", \"errors\");\n",
                  "    List AmiCenterTimersTypes = new list(\"String\", \"Long\", \"String\", \"Long\", \"Long\", \"Long\");\n",
                  "    tableFromFileM(nAmiCenterTimers, AmiCenterTimersName, AmiCenterTimersList, AmiCenterTimersTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterStoredProcs = \"\\\"AmiCenterStoredProcs\\\"\";\n",
                  "    String AmiCenterStoredProcsName = \"AmiCenterStoredProcs\";\n",
                  "    List AmiCenterStoredProcsList = new list(\"T\", \"now\", \"name\", \"count\", \"millis\", \"errors\");\n",
                  "    List AmiCenterStoredProcsTypes = new list(\"String\", \"Long\", \"String\", \"Long\", \"Long\", \"Long\");\n",
                  "    tableFromFileM(nAmiCenterStoredProcs, AmiCenterStoredProcsName, AmiCenterStoredProcsList, AmiCenterStoredProcsTypes, lf);\n",
                  "    \n",
                  "    String nAmiCenterTriggers = \"\\\"AmiCenterTriggers\\\"\";\n",
                  "    String AmiCenterTriggersName = \"AmiCenterTriggers\";\n",
                  "    List AmiCenterTriggersList = new list(\"T\", \"now\", \"name\", \"count\", \"millis\", \"errors\");\n",
                  "    List AmiCenterTriggersTypes = new list(\"String\", \"Long\", \"String\", \"Long\", \"Long\", \"Long\");\n",
                  "    tableFromFileM(nAmiCenterTriggers ,AmiCenterTriggersName ,AmiCenterTriggersList ,AmiCenterTriggersTypes, lf);\n",
                  "    \n",
                  "    String nSummary = \"\\\"Summary\\\"\";\n",
                  "    String SummaryName = \"summary\";\n",
                  "    List SummaryList = new list(\"T\", \"now\");\n",
                  "    List SummaryTypes = new list(\"String\", \"Long\");\n",
                  "    tableFromFileM(nSummary, SummaryName, SummaryList, SummaryTypes, lf);\n",
                  "    \n",
                  "    create table summary as select min(now) as start, max(now) as end, count(*) as count from summary;\n",
                  "    \n",
                  "    create table tPartition as select * from tPartition order by now;\n",
                  "    create table tPartitionPrep as PREPARE now, name, now - offset(now, -1) as dTime, processed - offset(processed, -1) as dProcessed, added - offset(added, -1) as dAdded, added-processed - offset(added-processed, -1) as dQueued from tPartition partition by name;\n",
                  "    create table tPartitionPrep as select now, name, dTime, 1000*dProcessed/(double)dTime as dProcessed, 1000*dAdded/(double)dTime as dAdded, 1000*dQueued/(double)dTime as dQueued from tPartitionPrep;\n",
                  "    \n",
                  "    create table eventsWindow as ANALYZE now, 1000*(max(win.events) - min(win.events))/(max(win.now)-min(win.now)) as changeEvents, 1000*(max(win.relayEvents) - min(win.relayEvents))/(max(win.now)-min(win.now)) as changeRelayEvents, count(win.now) as count FROM AmiCenterEvents WINDOW win on win.now <= now + 60000 && now <= win.now;\n",
                  "    create table eventPrep as PREPARE now, now - offset(now, -1) as dTime, events - offset(events, -1) as dEvents, relayEvents - offset(relayEvents, -1) as dRelayEvents from AmiCenterEvents;\n",
                  "    create table eventPrep as select now, dTime, 1000*dEvents/(double)dTime as dEvents, 1000*dRelayEvents/(double)dTime as dRelayEvents from eventPrep;\n",
                  "    \n",
                  "    insert into AmiCenterObjects from select * from AmiCenterTables;\n",
                  "    delete from AmiCenterObjects where type=~\"^__*\";\n",
                  "    create table AmiCenterObjectsPrep as PREPARE T, now, now - offset(now,-1) as dTime, count - offset(count,-1) as dCount, type, count from AmiCenterObjects partition by type;\n",
                  "    create table AmiCenterObjectsPrep as select T, now, maximum(dCount, 0) as rCount, dTime, dCount, type, count from AmiCenterObjectsPrep;\n",
                  "    \n",
                  "    create table process as PREPARE *, \n",
                  "    (maxMem - offset(maxMem, -1))==0 as maxP,\n",
                  "    (maxMem - offset(maxMem, 1))==0 as maxA,\n",
                  "    (totMem - offset(totMem, -1))==0 as totP,\n",
                  "    (totMem - offset(totMem, 1))==0 as totA,\n",
                  "    (freeMem - offset(freeMem, -1))==0 as freeP,\n",
                  "    (freeMem - offset(freeMem, 1))==0 as freeA,\n",
                  "    (threadBlocked - offset(threadBlocked, -1))==0 as tBP,\n",
                  "    (threadBlocked - offset(threadBlocked, 1))==0 as tBA, \n",
                  "    (threadsNew - offset(threadsNew, -1))==0 as tNP, \n",
                  "    (threadsNew - offset(threadsNew, 1))==0 as tNA, \n",
                  "    (threadsRunnable - offset(threadsRunnable, -1))==0 as tRP, \n",
                  "    (threadsRunnable - offset(threadsRunnable, 1))==0 as tRA, \n",
                  "    (threadsTimedWaiting - offset(threadsTimedWaiting, -1))==0 as tTP, \n",
                  "    (threadsTimedWaiting - offset(threadsTimedWaiting, 1))==0 as tTA, \n",
                  "    (threadsWaiting - offset(threadsWaiting, -1))==0 as tWP, \n",
                  "    (threadsWaiting - offset(threadsWaiting, 1))==0 as tWA \n",
                  "    \n",
                  "    FROM process;\n",
                  "    \n",
                  "    create table process as select *, \n",
                  "    maxP && maxA as sameMaxMem, \n",
                  "    totP && totA as sameTotMem,\n",
                  "    freeP && freeA as sameFreeMem,\n",
                  "    tBP && tBA as sameThreadBlocked,\n",
                  "    tNP && tNA as sameThreadsNew,\n",
                  "    tRP && tRA as sameThreadsRunnable,\n",
                  "    tTP && tTA as sameThreadsTimedWaiting,\n",
                  "    tWP && tWA as sameThreadsWaiting\n",
                  "    \n",
                  "    from process;\n",
                  "    \n",
                  "  } else {\n",
                  "    FormPanel controlsPanel = getPanelForView(getViewId(this.getId()), \"SystemControls\");\n",
                  "    String fn = controlsPanel.getFieldValue(\"filename\");\n",
                  "    \n",
                  "    String filename = \"AmiCenter.amilog\";\n",
                  "    filename = \"/./\" +fn;\n",
                  "    String nMemory = \"T=\\\"Memory\\\"\";\n",
                  "    String nProcess = \"T=\\\"Process\\\"\";\n",
                  "    String nPartition = \"T=\\\"Partition\\\"\";\n",
                  "    String nDispatcher = \"T=\\\"Dispatcher\\\"\";\n",
                  "    String nTopic = \"T=\\\"Topic\\\"\";\n",
                  "    String nAmiCenterObjects = \"T=\\\"AmiCenterObjects\\\"\";\n",
                  "    String nAmiCenterTables = \"T=\\\"AmiCenterTables\\\"\";\n",
                  "    String nAmiCenterEvents = \"T=\\\"AmiCenterEvents\\\"\";\n",
                  "    String nAmiWebHttpServer = \"T=\\\"AmiWebHttpServer\\\"\";\n",
                  "    String nAmiWebBalancerServer =\"T=\\\"AmiWebBalancerServer\\\"\";\n",
                  "    String nAmiWebBalancerClient =\"T=\\\"AmiWebBalancerClient\\\"\";\n",
                  "    String nAmiWebBalancerStats =\"T=\\\"AmiWebBalancerStats\\\"\";\n",
                  "    String nAmiCenterTimers = \"\\\"AmiCenterTimers\\\"\";\n",
                  "    String nAmiCenterStoredProcs = \"\\\"AmiCenterStoredProcs\\\"\";\n",
                  "    String nAmiCenterTriggers = \"\\\"AmiCenterTriggers\\\"\";\n",
                  "    \n",
                  "    CREATE TABLE AmiWebHttpServer AS USE ds=${dsSelectVal} _filterIn=\"${nAmiWebHttpServer}\" _fields=\"String T, Long now, int activeSessions, Long httpServices, Long activeConnections, Long userRows, Long userHiddenRows, Long cachedRows, int centersConnected, long openedConnections\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "  \n",
                  "    CREATE TABLE AmiWebBalancerServer AS USE ds=${dsSelectVal} _filterIn=\"${nAmiWebBalancerServer}\" _fields=\"String T, Long now, String address, int activeSessions, String status\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "  \n",
                  "    CREATE TABLE AmiWebBalancerClient AS USE ds=${dsSelectVal} _filterIn=\"${nAmiWebBalancerClient}\" _fields=\"String T, Long now, String address, Long startTime, Long IdleSince, String target, Long connections, Long bytesToServer, Long bytesToClient\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "  \n",
                  "    CREATE TABLE AmiWebBalancerStats AS USE ds=${dsSelectVal} _filterIn=\"${nAmiWebBalancerStats}\" _fields=\"String T, Long now, int clientsActive, int clientsIdle, int serversUp, int serversDown, Long activeConnections, Long totBytesToServers, Long totBytesToClients, int stickyCount\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    // CREATE TABLE AmiWebBalancerClient AS USE _filterIn=\"${nAmiCenterTimers}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    // CREATE TABLE AmiWebBalancerClient AS USE _filterIn=\"${nAmiCenterStoredProcs}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    // CREATE TABLE AmiWebBalancerClient AS USE _filterIn=\"${nAmiCenterTriggers}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    \n",
                  "    CREATE TABLE summary AS USE ds=${dsSelectVal} _fields=\"String T, Long now\" _delim=\"|\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\"  _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    CREATE TABLE summary as select min(now) as start, max(now) as end, count(*) as count from summary;\n",
                  "    \n",
                  "    CREATE TABLE memory AS USE ds=${dsSelectVal} _filterIn=\"${nMemory}\" _fields=\"String T, Long now, String name, Long commited, Long initial, Long max, Long used\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE process AS USE ds=${dsSelectVal} _filterIn=\"${nProcess}\" _fields=\"String T, Long now, Long freeMem, Long maxMem, Long totMem, int threadBlocked, int threadsNew, int threadsRunnable, int threadsTimedWaiting, int threadsWaiting\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE tPartition AS USE ds=${dsSelectVal} _filterIn=\"${nPartition}\" _fields=\"String T, Long now, Long added, Long processed, Long totExecTime, Long execs, Boolean inThreadPool, String name, Long startTime\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    // CREATE TABLE tPartition AS USE _filterIn=\"${nPartition}\" _fields=\"String cmd, String T, Long now, Long added, Long processed, Long totExecTime, Long execs, Boolean inThreadPool, String name, Long startTime\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    Create table tPartition as select * from tPartition order by now; \n",
                  "    create table tPartitionPrep as PREPARE now, name, now - offset(now, -1) as dTime, processed - offset(processed, -1) as dProcessed, added - offset(added, -1) as dAdded, added-processed - offset(added-processed, -1) as dQueued from tPartition partition by name;\n",
                  "    create table tPartitionPrep as select now, name, dTime, 1000*dProcessed/(double)dTime as dProcessed, 1000*dAdded/(double)dTime as dAdded, 1000*dQueued/(double)dTime as dQueued from tPartitionPrep;\n",
                  "    \n",
                  "    CREATE TABLE dispatcher AS USE ds=${dsSelectVal} _filterIn=\"${nDispatcher}\" _fields=\"String T, Long now, Long added, Long processed, Long totExecTime, Long execs, Long inThreadPoolCount, int partitionsCount\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE topic AS USE ds=${dsSelectVal} _filterIn=\"${nTopic}\" _fields=\"String T, Long now, String dir, String name, Long msgCount, int connections\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterObjects AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterObjects}\" _fields=\"String T, Long now, String type, int count\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterTables AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterTables}\" _fields=\"String T, Long now, String type, int count\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterTimers AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterTimers}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterStoredProcs AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterStoredProcs}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterTriggers AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterTriggers}\" _fields=\"String T, Long now, String name, Long count, Long millis, Long errors\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE AmiCenterEvents AS USE ds=${dsSelectVal} _filterIn=\"${nAmiCenterEvents}\" _fields=\"Long logouts, String T, Long objsCount, Long dels, Long commandDefs, Long relayEvents, Long objExpires, Long delUnks, Long objs, Long snapshots , Long dsQueries, Long rowsCount, Long now, Integer relaysCount, Long upds, Long logins, Long events, Integer strPoolSize\" _quote=\"\\\"\" _equals=\"=\" _file=\"${filename}\" _delim=\"|\" _skipLines=\"1\" EXECUTE SELECT * FROM file WHERE ${WHERE};\n",
                  "    \n",
                  "    CREATE TABLE eventsWindow as ANALYZE now, 1000*(max(win.events) - min(win.events))/(max(win.now)-min(win.now)) as changeEvents, 1000*(max(win.relayEvents) - min(win.relayEvents))/(max(win.now)-min(win.now)) as changeRelayEvents, count(win.now) as count FROM AmiCenterEvents WINDOW win on win.now <= now + 60000 && now <= win.now;\n",
                  "    \n",
                  "    create table eventPrep as PREPARE now, now - offset(now, -1) as dTime, events - offset(events, -1) as dEvents, relayEvents - offset(relayEvents, -1) as dRelayEvents from AmiCenterEvents;\n",
                  "    create table eventPrep as select now, dTime, 1000*dEvents/(double)dTime as dEvents, 1000*dRelayEvents/(double)dTime as dRelayEvents from eventPrep; \n",
                  "    \n",
                  "    insert into AmiCenterObjects from select * from AmiCenterTables;\n",
                  "    // create table AmiCenterObjects as select cmd, T, last(now) as now, type, last(count) as count, last(linenum) as linenum from AmiCenterObjects group by T, type, roundDown(now/60);\n",
                  "    delete from AmiCenterObjects where type=~\"^__*\";\n",
                  "    create table AmiCenterObjectsPrep as PREPARE T, now, now - offset(now,-1) as dTime, count - offset(count,-1) as dCount, type, count from AmiCenterObjects partition by type;\n",
                  "    create table AmiCenterObjectsPrep as select T, now, maximum(dCount, 0) as rCount, dTime, dCount, type, count from AmiCenterObjectsPrep;\n",
                  "    \n",
                  "    create table process as PREPARE *, \n",
                  "    (maxMem - offset(maxMem, -1))==0 as maxP,\n",
                  "    (maxMem - offset(maxMem, 1))==0 as maxA,\n",
                  "    (totMem - offset(totMem, -1))==0 as totP,\n",
                  "    (totMem - offset(totMem, 1))==0 as totA,\n",
                  "    (freeMem - offset(freeMem, -1))==0 as freeP,\n",
                  "    (freeMem - offset(freeMem, 1))==0 as freeA,\n",
                  "    (threadBlocked - offset(threadBlocked, -1))==0 as tBP,\n",
                  "    (threadBlocked - offset(threadBlocked, 1))==0 as tBA, \n",
                  "    (threadsNew - offset(threadsNew, -1))==0 as tNP, \n",
                  "    (threadsNew - offset(threadsNew, 1))==0 as tNA, \n",
                  "    (threadsRunnable - offset(threadsRunnable, -1))==0 as tRP, \n",
                  "    (threadsRunnable - offset(threadsRunnable, 1))==0 as tRA, \n",
                  "    (threadsTimedWaiting - offset(threadsTimedWaiting, -1))==0 as tTP, \n",
                  "    (threadsTimedWaiting - offset(threadsTimedWaiting, 1))==0 as tTA, \n",
                  "    (threadsWaiting - offset(threadsWaiting, -1))==0 as tWP, \n",
                  "    (threadsWaiting - offset(threadsWaiting, 1))==0 as tWA \n",
                  "    \n",
                  "    FROM process;\n",
                  "    \n",
                  "    create table process as select *, \n",
                  "    maxP && maxA as sameMaxMem, \n",
                  "    totP && totA as sameTotMem,\n",
                  "    freeP && freeA as sameFreeMem,\n",
                  "    tBP && tBA as sameThreadBlocked,\n",
                  "    tNP && tNA as sameThreadsNew,\n",
                  "    tRP && tRA as sameThreadsRunnable,\n",
                  "    tTP && tTA as sameThreadsTimedWaiting,\n",
                  "    tWP && tWA as sameThreadsWaiting\n",
                  "    \n",
                  "    from process;\n",
                  "  }\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"FIELDVALUE:SystemControls?dsSelect?",
                    "varName":"dsSelectVal"
                  },
                  {
                    "ari":"DATAMODEL:main",
                    "varName":"main"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"linenum",
                          "tp":"Integer"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                },
                "timeout":100000
              }
            ]
          },
          "datasources":[
            "AmiLogFile"
          ],
          "lbl":"main",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  String filter = true;\n",
                  "  \n",
                  "  if (dateTimeStartVal != null && dateTimeEndVal != null){\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n",
                  "    \n",
                  "    filter = \"now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal;\n",
                  "    \n",
                  "  } else {\n",
                  "    \n",
                  "    String filter = true;\n",
                  "  }\n",
                  "  \n",
                  "  CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE} && ${filter};\n",
                  "  ALTER TABLE AmiCenterStoredProcs ADD Diff Integer;\n",
                  "  \n",
                  "  create table AmiCenterStoredProcsProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterStoredProcs order by now partition by name;\n",
                  "  \n",
                  "  delete from AmiCenterStoredProcsProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterStoredProcsProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterStoredProcsProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterStoredProcsProcessed;\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "linkedVariables":[
                  {
                    "ari":"FIELDVALUE:PNL13?datetimeEnd?",
                    "varName":"dateTimeEndVal"
                  },
                  {
                    "ari":"FIELDVALUE:PNL13?datetimeStart?",
                    "varName":"dateTimeStartVal"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterStoredProcsProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"procBlender",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE};\n",
                  " \n",
                  "  ALTER TABLE AmiCenterStoredProcs ADD Diff Integer;\n",
                  "  \n",
                  "  create table AmiCenterStoredProcsProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterStoredProcs order by now partition by name;\n",
                  "  \n",
                  "  delete from AmiCenterStoredProcsProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterStoredProcsProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterStoredProcsProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterStoredProcsProcessed;\n",
                  "  \n",
                  "  create table AmiCenterStoredProcsProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterStoredProcsProcessed group by name;\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterStoredProcsProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg_Diff",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcsProcessedName",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"procBlender2",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  FormPanel controlsPanel = getPanelForView(getViewId(this.getId()), \"SystemControls\");\n",
                  "  \n",
                  "  boolean enableRefresh = controlsPanel.getFieldValue(\"enableRefresh\");\n",
                  "  String refreshTime = controlsPanel.getFieldValue(\"refreshTime\");\n",
                  "  int iRefreshTime = (int) refreshTime;\n",
                  "  create table z(a boolean);\n",
                  "  if(enableRefresh){\n",
                  "    Datamodel thiz = getDatamodelForView(getViewId(this.getId()), \"refresh\");\n",
                  "    // Datamodel thiz = layout.getDatamodel(\"refresh\");\n",
                  "    \n",
                  "    boolean run = false;\n",
                  "    \n",
                  "    long lastRun = thiz.getValue(\"lastRun\");\n",
                  "    if(lastRun == null)\n",
                  "      run = true;\n",
                  "    else{\n",
                  "      long time = timestamp();\n",
                  "      if(time > (lastRun + 1000*iRefreshTime))\n",
                  "        run = true;   \n",
                  "    }\n",
                  "    \n",
                  "    if(run == true){\n",
                  "      getDatamodelForView(getViewId(this.getId()), \"main\").reprocess();\n",
                  "      //layout.getDatamodel(\"main\").reprocess();\n",
                  "      thiz.setValue(\"lastRun\", timestamp());\n",
                  "      \n",
                  "      // file upload field\n",
                  "      main.reprocess();\n",
                  "    }\n",
                  "  }\n",
                  "}\n"
                ],
                "defaultDs":"AmiLogFile",
                "hasDatamodel":true,
                "limit":1,
                "linkedVariables":[
                  {
                    "ari":"DATAMODEL:main",
                    "varName":"main"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"a",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"z",
                      "oc":"ask"
                    }
                  ]
                },
                "timeout":1000
              }
            ]
          },
          "datasources":[
            "AmiLogFile"
          ],
          "lbl":"refresh",
          "maxRequery":5000,
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  " \n",
                  "  String filter = true;\n",
                  "  \n",
                  "  if (dateTimeStartVal != null && dateTimeEndVal != null){\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n",
                  "    \n",
                  "    filter = \"now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal;\n",
                  "    \n",
                  "  } else {\n",
                  "    \n",
                  "     String filter = true;\n",
                  "  }\n",
                  "  \n",
                  "  CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE} && ${filter};\n",
                  "  ALTER TABLE AmiCenterTimers ADD Diff Integer;\n",
                  " \n",
                  "  create table AmiCenterTimersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTimers order by now partition by name;\n",
                  "  delete from AmiCenterTimersProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterTimersProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterTimersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTimersProcessed;\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "linkedVariables":[
                  {
                    "ari":"FIELDVALUE:PNL14?datetimeEnd?",
                    "varName":"dateTimeEndVal"
                  },
                  {
                    "ari":"FIELDVALUE:PNL14?datetimeStart?",
                    "varName":"dateTimeStartVal"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterTimersProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"timerBlender",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE};\n",
                  "\n",
                  "  ALTER TABLE AmiCenterTimers ADD Diff Integer;\n",
                  " \n",
                  "  create table AmiCenterTimersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTimers order by now partition by name;\n",
                  "  delete from AmiCenterTimersProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterTimersProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterTimersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTimersProcessed;\n",
                  "  \n",
                  "  create table AmiCenterTimersProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterTimersProcessed group by name;\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterTimersProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg_Diff",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimersProcessedName",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"timerBlender2",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  String filter = true;\n",
                  "  \n",
                  "  if (dateTimeStartVal != null && dateTimeEndVal != null){\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal + \" && now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal == null && dateTimeEndVal != null) { \n",
                  "    \n",
                  "    filter = \"now < \" + dateTimeEndVal;\n",
                  "    \n",
                  "  } else if (dateTimeStartVal != null && dateTimeEndVal == null) {\n",
                  "    \n",
                  "    filter = \"now > \" + dateTimeStartVal;\n",
                  "    \n",
                  "  } else {\n",
                  "    \n",
                  "    String filter = true;\n",
                  "  }\n",
                  "  \n",
                  "  CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE} && ${filter};\n",
                  "  ALTER TABLE AmiCenterTriggers ADD Diff Integer;\n",
                  " \n",
                  "  create table AmiCenterTriggersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTriggers order by now partition by name;\n",
                  "  \n",
                  "  delete from AmiCenterTriggersProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterTriggersProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterTriggersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTriggersProcessed;\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"FIELDVALUE:PNL12?datetimeEnd?",
                    "varName":"dateTimeEndVal"
                  },
                  {
                    "ari":"FIELDVALUE:PNL12?datetimeStart?",
                    "varName":"dateTimeStartVal"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterTriggersProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"triggerBlender",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE};\n",
                  "\n",
                  "  ALTER TABLE AmiCenterTriggers ADD Diff Integer;\n",
                  " \n",
                  "  create table AmiCenterTriggersProcessed as prepare *, offset(millis, -1) as prevMillis from AmiCenterTriggers order by now partition by name;\n",
                  "  \n",
                  "  delete from AmiCenterTriggersProcessed WHERE prevMillis == null;\n",
                  "  update AmiCenterTriggersProcessed set Diff = millis - prevMillis;\n",
                  "  \n",
                  "  create table AmiCenterTriggersProcessed as select count, maximum(Diff, 0) as Diff, errors, millis, name, now, prevMillis as prevMillis, T from AmiCenterTriggersProcessed;\n",
                  "  \n",
                  "  create table AmiCenterTriggersProcessedName as select name, AVG(Diff) as Avg_Diff FROM AmiCenterTriggersProcessed group by name;\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"objsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dels",
                          "tp":"Long"
                        },
                        {
                          "nm":"commandDefs",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"delUnks",
                          "tp":"Long"
                        },
                        {
                          "nm":"objs",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"rowsCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"relaysCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"upds",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Integer"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterObjectsPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"Diff",
                          "tp":"Integer"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"prevMillis",
                          "tp":"Long"
                        },
                        {
                          "nm":"T",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiCenterTriggersProcessed",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg_Diff",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggersProcessedName",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"IdleSince",
                          "tp":"Long"
                        },
                        {
                          "nm":"target",
                          "tp":"String"
                        },
                        {
                          "nm":"connections",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToServer",
                          "tp":"Long"
                        },
                        {
                          "nm":"bytesToClient",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebBalancerClient",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"clientsActive",
                          "tp":"Integer"
                        },
                        {
                          "nm":"clientsIdle",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversUp",
                          "tp":"Integer"
                        },
                        {
                          "nm":"serversDown",
                          "tp":"Integer"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToServers",
                          "tp":"Long"
                        },
                        {
                          "nm":"totBytesToClients",
                          "tp":"Long"
                        },
                        {
                          "nm":"stickyCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"AmiWebBalancerStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"httpServices",
                          "tp":"Long"
                        },
                        {
                          "nm":"activeConnections",
                          "tp":"Long"
                        },
                        {
                          "nm":"userRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"userHiddenRows",
                          "tp":"Long"
                        },
                        {
                          "nm":"cachedRows",
                          "tp":"Integer"
                        },
                        {
                          "nm":"centersConnected",
                          "tp":"Integer"
                        },
                        {
                          "nm":"openedConnections",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiWebHttpServer",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPoolCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"partitionsCount",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"dispatcher",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dRelayEvents",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"changeRelayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"eventsWindow",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"commited",
                          "tp":"Long"
                        },
                        {
                          "nm":"initial",
                          "tp":"Long"
                        },
                        {
                          "nm":"max",
                          "tp":"Long"
                        },
                        {
                          "nm":"used",
                          "tp":"Long"
                        }
                      ],
                      "nm":"memory",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"maxP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"maxA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"totA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"freeA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tBA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tNA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tRA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tTA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWP",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"tWA",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameMaxMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameTotMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameFreeMem",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadBlocked",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsNew",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsRunnable",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsTimedWaiting",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"sameThreadsWaiting",
                          "tp":"Boolean"
                        }
                      ],
                      "nm":"process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartitionPrep",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"T",
                          "tp":"String"
                        },
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"topic",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"triggerBlender2",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        }
      ],
      "lnk":[
        {
          "awcs":[
            {
              "fl":"false",
              "fo":null,
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":null,
              "tr":"true",
              "vn":"WHERE",
              "wh":"${Source_filterName} == \"${Source_filterValues}\""
            }
          ],
          "callbacks":{
          },
          "op":7,
          "relid":"REL1",
          "sdmadn":"AmiOne_log_query_performance_filter",
          "sdmtb":"filters",
          "spadn":"AmiOne_log_query_performance_filter",
          "tdmadn":"AmiOne_log_query_performance_chart",
          "title":"Show AmiOne_log_queries",
          "tpadn":"AmiOne_log_query_performance_chart"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":null,
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":null,
              "tr":"true",
              "vn":"WHERE",
              "wh":"${Source_linenum} == linenum"
            }
          ],
          "callbacks":{
          },
          "op":18,
          "relid":"REL2",
          "sdmadn":"AmiOne_log_query_performance_chart",
          "sdmtb":"AmiOne_log_queries",
          "spadn":"AmiOne_log_query_performance_chart",
          "tdmadn":"AmiOne_log_query_performance_table",
          "title":"Show AmiOne_log_queries",
          "tpadn":"AmiOne_log_query_performance"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"Source_TableName == `Target_Table Name`"
            }
          ],
          "callbacks":{
          },
          "op":7,
          "relid":"REL3",
          "sdmadn":"DiagnoseTableList",
          "sdmtb":"Tables",
          "spadn":"DiagnoseTableList1",
          "title":"Show __COLUMN",
          "tpadn":"PNL7"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"\"${Source_name}\" == name"
            }
          ],
          "callbacks":{
          },
          "op":7,
          "relid":"REL4",
          "sdmadn":"procBlender2",
          "sdmtb":"AmiCenterStoredProcsProcessedName",
          "spadn":"procBlender4",
          "tdmadn":"procBlender",
          "title":"Show AmiCenterStoredProcs",
          "tpadn":"main16"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"\"${Source_name}\" == name"
            }
          ],
          "callbacks":{
          },
          "op":7,
          "relid":"REL5",
          "sdmadn":"triggerBlender2",
          "sdmtb":"AmiCenterTriggersProcessedName",
          "spadn":"triggerBlender2",
          "tdmadn":"triggerBlender",
          "title":"Show AmiCenterTriggers",
          "tpadn":"main18"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"\"${Source_name}\" == name"
            }
          ],
          "callbacks":{
          },
          "op":7,
          "relid":"REL6",
          "sdmadn":"timerBlender2",
          "sdmtb":"AmiCenterTimersProcessedName",
          "spadn":"timerBlender3",
          "tdmadn":"timerBlender",
          "title":"Show AmiCenterTimers",
          "tpadn":"main20"
        }
      ]
    },
    "fileVersion":4,
    "menubarPosition":"top",
    "rt":{
    },
    "stm":{
      "styles":[
        {
          "id":"LAYOUT_DEFAULT",
          "lb":"Layout Default",
          "pt":"DARK",
          "vl":{
            "chart":{
              "bgCl":"#1f1f1f",
              "divCl":"#565656",
              "divThckH":1.0,
              "divThckV":1.0
            },
            "chartAxis":{
              "axEndPd":7.0,
              "axLineCl":"#bfbfbf",
              "axMajUnitSz":5.0,
              "axMinorUnitSz":2.0,
              "axNumFontCl":"#5af4ec",
              "axNumPd":2.0,
              "axStartPd":7.0,
              "axTitleCl":"#00fff2",
              "axTitleFontFam":"Courier",
              "axTitlePd":64.0,
              "axTitleSz":14.0
            },
            "field":{
              "fldBgCl":"#3f3f3f",
              "fldFontCl":"#ffff3f",
              "fontCl":"#ffee00"
            },
            "form":{
              "bgCl":"#000000"
            },
            "graphLayer":{
              "grLyrHMajGrdCl":"#303030"
            },
            "legend":{
              "lgdBdrCl":"#1f1f1f",
              "lgdBgCl":"#1f1f1f",
              "lgdKeyPos":"top_left",
              "lgdMaxHt":356.0,
              "lgdMaxWd":148.0,
              "lgdNmPos":"top_left"
            },
            "tabs":{
              "fontSz":14.0,
              "pdCl":"#000000",
              "roundLf":0.0,
              "roundRt":0.0,
              "selCl":"#1f1f1f",
              "selTxtCl":"#ffe900",
              "spacing":12.0,
              "tabHt":20.0,
              "unselCl":"#000000",
              "unselTxtCl":"#baac1a"
            }
          }
        },
        {
          "id":"DARK",
          "lb":"Dark",
          "pt":"DEFAULT",
          "vl":{
            "chart":{
              "bgCl":"#3a3a3a",
              "divCl":"#ffffff",
              "seriesCls":[
                "#30b3ff",
                "#ff7530",
                "#ff303e",
                "#ffc637",
                "#ff3098",
                "#30ff6e",
                "#d229db",
                "#30f8ff",
                "#94d8ff",
                "#ffb894",
                "#ff949b",
                "#ffe49e",
                "#ff94c9",
                "#94ffb4",
                "#e481ea",
                "#94fbff"
              ]
            },
            "chartAxis":{
              "axNumFontCl":"#ffffff",
              "axNumFontFam":"Courier",
              "axTitleCl":"#ffffff"
            },
            "div":{
              "divCl":"#3a3a3a",
              "divSz":2.0
            },
            "legend":{
              "lgdBgCl":"#000000",
              "lgdFontFam":"Arial",
              "lgdNmCl":"#ffffff"
            },
            "table":{
              "actCl":"#34477f",
              "bgCl":"#3a3a3a",
              "cellBdrCl":"#6f6f6f",
              "cellRtPx":1.0,
              "fontCl":"#ffffff",
              "graybarCl":"#282828",
              "headerBgCl":"#000000",
              "headerDivHide":true,
              "pdBdrCl":"#3a3a3a",
              "pdBtmPx":6.0,
              "pdCl":"#000000",
              "pdLfPx":6.0,
              "pdRtPx":6.0,
              "pdShadowCl":"#ffffff",
              "pdShadowHzPx":3.0,
              "pdShadowSzPx":1.0,
              "pdShadowVtPx":3.0,
              "pdTpPx":6.0,
              "scrollBdrCl":"#111111",
              "scrollBtnCl":"#000000",
              "scrollGripCl":"#000000",
              "scrollIconsCl":"#ffffff",
              "scrollTrackCl":"#3a3a3a",
              "scrollWd":18.0,
              "searchBarDivCl":"#000000",
              "searchBgCl":"#111111",
              "selCl":"#34477f8a",
              "titlePnlFontCl":"#ffffff",
              "titlePnlFontSz":15.0
            },
            "tabs":{
              "selCl":"#3a3a3a",
              "selTxtCl":"#ffffff"
            }
          }
        }
      ]
    },
    "titleBarHtml":"<style>\n.__custami_refresh.checked{\n  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 2c-5.621 0-10.211 4.443-10.475 10h-3.025l5 6.625 5-6.625h-2.975c.257-3.351 3.06-6 6.475-6 3.584 0 6.5 2.916 6.5 6.5s-2.916 6.5-6.5 6.5c-1.863 0-3.542-.793-4.728-2.053l-2.427 3.216c1.877 1.754 4.389 2.837 7.155 2.837 5.79 0 10.5-4.71 10.5-10.5s-4.71-10.5-10.5-10.5z'/%3E%3C/svg%3E\") !important;\n  background-size: contain;\n}\n\n\n</style>",
    "transientIdPrefix":"TRANSIENT_"
  },
  "portletConfigs":[
    {
      "portletBuilderId":"amidesktop",
      "portletConfig":{
        "amiPanelId":"@DESKTOP",
        "amiStyle":{
          "bgCl":"#000000",
          "fontCl":"#fff67a",
          "menuBgCl":"#191919",
          "menuBorderBtmRtCl":"#1f1f1f",
          "menuBorderTpLfCl":"#1f1f1f",
          "menuDisBgCl":"#191919",
          "menuDisFontCl":"#726e35",
          "menuDivCl":"#191919",
          "menuFontCl":"#fff67a",
          "pt":"LAYOUT_DEFAULT",
          "titleBarBdrCl":"#000000",
          "usrWinBtnCl":"#9f9f9f",
          "usrWinBtnDownCl":"#9f9f9f",
          "usrWinBtnIconCl":"#ffffff",
          "usrWinBtnUpCl":"#9f9f9f",
          "usrWinCl":"#4f4f4f",
          "usrWinDownCl":"#4f4f4f",
          "usrWinFormBgCl":"#dfdfdf",
          "usrWinFormBtnPanelCl":"#7f7f7f",
          "usrWinTxtCl":"#ffffff",
          "usrWinUpCl":"#4f4f4f"
        },
        "windows":[
          {
            "header":false,
            "heightDflt":896,
            "hidden":false,
            "leftDflt":0,
            "portlet":"Div10",
            "pos":0,
            "stateDflt":"max",
            "title":"AmiLogViewer",
            "topDflt":0,
            "widthDflt":1912,
            "zindexDflt":5
          },
          {
            "header":true,
            "height":208,
            "hidden":true,
            "left":257,
            "portlet":"CREATE_VIEW_FORM",
            "pos":1,
            "state":"min",
            "title":"__NewView",
            "top":100,
            "width":321,
            "zindexDflt":1
          },
          {
            "header":true,
            "height":622,
            "hidden":false,
            "left":424,
            "portlet":"PNLQueriesPerf",
            "pos":2,
            "state":"minmax",
            "title":"AmiQueriesPerformance",
            "top":172,
            "width":1280,
            "zindexDflt":4
          },
          {
            "header":true,
            "height":622,
            "hidden":false,
            "left":40,
            "portlet":"Div17",
            "pos":3,
            "state":"max",
            "title":"Diagnose Tables",
            "top":60,
            "width":1280,
            "zindexDflt":3
          },
          {
            "header":true,
            "height":874,
            "hidden":false,
            "left":81,
            "portlet":"Div28",
            "pos":4,
            "state":"min",
            "title":"AMIDB Timer, Trigger, and Procedures",
            "top":19,
            "width":960,
            "zindexDflt":2
          }
        ]
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":62.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":116,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Events Rate"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":41,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Objects"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":false,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "minValue":0.0,
            "orientation":"R",
            "reverse":true,
            "title":"Msgs Queued"
          },
          "L_3_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":59,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Threads"
          },
          "L_4_0":{
            "amiStyle":{
              "axStartPd":0.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Memory"
          }
        },
        "axisLcnts":[
          1,
          1,
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process",
              "eventPrep",
              "tPartition",
              "AmiCenterObjects"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":-1,
            "w":1.3441295546558705
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":-1,
            "w":1.1417004048582997
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":-1,
            "w":1.0607287449392713
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":-1,
            "w":0.8906882591093117
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":-1,
            "w":0.8178137651821863
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":121,
                "w":0.09535066981875494
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.904649330181245
              }
            ],
            "p":92,
            "w":0.7449392712550608
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":50.0,
                  "lgdMaxWd":130.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":122,
                "name":"Legend",
                "opac":100,
                "ser":[
                  118,
                  120
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"eventPrep",
                "dmadn":"main",
                "id":119,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":118,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"Events",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(dEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"dEvents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              },
              {
                "amiStyle":{
                  "hMajGrdSz":1.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"eventPrep",
                "dmadn":"main",
                "id":121,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":120,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"RelayEvents",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(dRelayEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"dRelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              }
            ],
            "plotId":117,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":200.0,
                  "lgdMaxWd":164.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":45,
                "name":"Legend",
                "opac":100,
                "ser":[
                  43
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "hMajGrdSz":1.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"main",
                "id":44,
                "layers":[
                  {
                    "desc":"formatInteger(count) + \" \" +type+\"(s)\"",
                    "descColor":{
                      "type":"custom",
                      "value":"brighten(cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ),-.5)"
                    },
                    "descPos":"\"top\"",
                    "descSz":"10",
                    "editorType":"2dAdv",
                    "id":43,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"type+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(count, \"#,###.#\", \"\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              }
            ],
            "plotId":42,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":108.0,
                  "lgdMaxWd":200.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":40,
                "name":"Legend",
                "opac":100,
                "ser":[
                  36
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "hMajGrdSz":1.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"main",
                "id":37,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":36,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(added-processed, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"added-processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_3":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":88.0,
                  "lgdMaxWd":160.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":71,
                "name":"Legend",
                "opac":100,
                "ser":[
                  65,
                  339,
                  67,
                  69,
                  61,
                  223,
                  63
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":64,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":63,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"ThreadsBlocked",
                    "tooltip":"\"ThreadsBlocked\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadBlocked, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadBlocked"
                  }
                ],
                "name":"ThreadsBlocked",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":62,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":61,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"ThreadsNew",
                    "tooltip":"\"ThreadsNew\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadsNew, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsNew"
                  }
                ],
                "name":"ThreadsNew",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":66,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":65,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"ThreadsRunnable",
                    "tooltip":"\"ThreadsRunnable\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadsRunnable, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsRunnable"
                  }
                ],
                "name":"ThreadsRunnable",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":68,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":67,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"ThreadsTimedWaiting",
                    "tooltip":"\"ThreadsTimedWaiting\"+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(threadsTimedWaiting, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsTimedWaiting"
                  }
                ],
                "name":"ThreadsTimedWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "hMajGrdSz":1.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":339,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "sel":"true",
                    "seriesName":"ThreadsWaiting",
                    "tooltip":"\"ThreadsWaiting\"+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(threadsWaiting, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsWaiting"
                  }
                ],
                "name":"ThreadsWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              }
            ],
            "plotId":60,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_4":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":68.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "grLyrHMajGrdCl":"#ff0000",
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":86,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "seriesName":"AllocMemory",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(totMem/1024/1024,\"#,### MB\",\"\")",
                    "xPos":"now",
                    "yPos":"totMem"
                  }
                ],
                "name":"AllocMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":88,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mHeight":"1",
                    "mWidth":"1",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(maxMem/1024/1024,\"#,### MB\",\"\")",
                    "xPos":"now",
                    "yPos":"maxMem"
                  }
                ],
                "name":"MaxMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "hMajGrdSz":1.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":33,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "fillBorderSize":"1",
                    "fillColor":{
                      "type":"custom",
                      "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",maxMem/2,\"#8c8c2e\",maxMem,\"#992020\")"
                    },
                    "id":32,
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "seriesName":"UsedMemory",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber((totMem - freeMem)/1024/1024,\"#,### MB\",\"\")",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"0",
                    "yPos":"totMem - freeMem"
                  }
                ],
                "name":"UsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              }
            ],
            "plotId":31,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":5,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"start",
            "hs":"\"center\"",
            "id":"col_0",
            "location":0,
            "pc":0,
            "sy":"\"arial,center\"",
            "tl":"Start",
            "tp":"datetime_sec",
            "width":408
          },
          {
            "fm":"end",
            "hs":"\"center\"",
            "id":"col_1",
            "location":1,
            "pc":0,
            "sy":"\"center\"",
            "tl":"End",
            "tp":"datetime_sec",
            "width":390
          },
          {
            "fm":"end-start",
            "hs":"\"center\"",
            "id":"col_3",
            "location":2,
            "pc":0,
            "sy":"\"center\"",
            "tl":"Total Time",
            "tp":"time_sec",
            "width":336
          },
          {
            "fm":"count",
            "hs":"\"center\"",
            "id":"col_2",
            "location":3,
            "pc":0,
            "sy":"\"center\"",
            "tl":"Log Entries",
            "tp":"numeric",
            "width":262
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"AmiCenter_amilog1",
        "amiStyle":{
          "actCl":"#00000000",
          "bgCl":"#000000",
          "cellPadHt":5.0,
          "columnFilterHide":true,
          "fontCl":"#3fff3f",
          "fontSz":22.0,
          "graybarCl":"#020b11",
          "headerBgCl":"#000000",
          "headerDivHide":true,
          "headerFontCl":"#37e837",
          "headerFontSz":20.0,
          "headerHt":25.0,
          "pt":"DEFAULT",
          "rowHt":27.0,
          "searchHide":true,
          "selCl":"#ffffff00"
        },
        "amiTitle":"summary",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"Start\"){\n",
                "  \n",
                "}\n",
                "if(column==\"End\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Total Time\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Log Entries\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "summary"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_2",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"summary"
        },
        "upid":"AmiCenter_amilog1",
        "varTypes":{
          "count":"Long",
          "end":"Long",
          "start":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":false,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":"formatNumber(n,\"###,###,###,###\",\"\")",
            "formatType":0,
            "isGroupOrdered":false,
            "minValue":0.0,
            "orientation":"R",
            "reverse":true,
            "title":"Msgs Queued"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":false,
            "autoMinorValue":true,
            "axisId":224,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "minValue":0.0,
            "orientation":"R",
            "reverse":true,
            "title":"Msg Per Second"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":234,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Msgs Processed"
          }
        },
        "axisLcnts":[
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "tPartition",
              "tPartitionPrep"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":0.7426900584795322
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":0.9766081871345029
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":1.9415204678362572
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":58,
            "w":0.3391812865497076
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":160.0,
                  "lgdMaxWd":130.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":40,
                "name":"Legend",
                "opac":100,
                "ser":[
                  36
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"main",
                "id":37,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":36,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"3",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "name":"name",
                    "sel":"true",
                    "seriesName":"Layer",
                    "tooltip":"name + \"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(added-processed, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"added-processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":220.0,
                  "lgdMaxWd":133.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":228,
                "name":"Legend",
                "opac":100,
                "ser":[
                  226
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartitionPrep",
                "dmadn":"main",
                "id":227,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":226,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(dProcessed, \"#,###.#\", \"\")",
                    "where":"name==\"AMI_CENTER\"||name == \"MSG_AGENTS\"",
                    "xPos":"now",
                    "yPos":"dAdded"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":224
              }
            ],
            "plotId":225,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"main",
                "id":1,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":246,
                    "line2Color":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff0000\",\"#ff7f00\",\"#00ff00\",\"#007f7f\",\"#007fff\",\"#00007f\",\"#7f00ff\",\"#ff00ff\",\"#3f3f3f\")"
                    },
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "name":"name",
                    "sel":"true",
                    "seriesName":"Layer",
                    "tooltip":"name + \"<BR>X: \" +formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(processed,\"###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":234
              },
              {
                "amiStyle":{
                  "lgdMaxHt":200.0,
                  "lgdMaxWd":128.0,
                  "lgdNmPos":"top_left",
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":256,
                "name":"Legend",
                "opac":100,
                "ser":[
                  246
                ],
                "type":"Legend"
              }
            ],
            "plotId":235,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog3"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":116,
            "fontStyle":"",
            "format":"formatNumber(n,\"###,###,###,###\",\"\")",
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Events Rate"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":172,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Events"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterEvents",
              "eventPrep"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":1.2757837346660608
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":1.0917764652430713
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":58,
            "w":0.6324398000908678
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxWd":130.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":162,
                "name":"Legend",
                "opac":100,
                "ser":[
                  118,
                  120
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"eventPrep",
                "dmadn":"main",
                "id":119,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":118,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"Events",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(dEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"dEvents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"eventPrep",
                "dmadn":"main",
                "id":121,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":120,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"RelayEvents",
                    "tooltip":"\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(dRelayEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"dRelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              }
            ],
            "plotId":117,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":189,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":188,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"Events",
                    "tooltip":"\"Events: \"+formatNumber(relayEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"events"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":172
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":187,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":186,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"RelayEvents",
                    "tooltip":"\"Relay Events: \"+formatNumber(relayEvents,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"relayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":172
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":175,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":174,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"Updates",
                    "tooltip":"\"Updates: \"+formatNumber(upds,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"upds"
                  }
                ],
                "name":"Updates",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":172
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":177,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":176,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30f8ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30f8ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"ObjExpires",
                    "tooltip":"\"Obj Expires: \"+formatNumber(objExpires,\"###,###,###,###\",\"\")",
                    "xPos":"now",
                    "yPos":"objExpires"
                  }
                ],
                "name":"ObjExpires",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":172
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":180,
                "name":"Legend",
                "opac":100,
                "ser":[
                  176,
                  186,
                  188,
                  174
                ],
                "type":"Legend"
              }
            ],
            "plotId":173,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog5"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":"formatNumber(n/1024/1024,\"#,### MB\",\"\")",
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Memory"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":0.7803030303030303
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":58,
            "w":0.4393939393939394
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":68.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":33,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "fillBorderSize":"1",
                    "fillColor":{
                      "type":"custom",
                      "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",maxMem/2,\"#8c8c2e\",maxMem,\"#992020\")"
                    },
                    "id":32,
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"1",
                    "mShape":"\"square\"",
                    "mWidth":"1",
                    "seriesName":"UsedMemory",
                    "tooltip":"\"UsedMemory<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber((totMem - freeMem)/1024/1024,\"#,###,### MB\",\"\")",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"min(totMem - freeMem) ",
                    "yPos":"totMem - freeMem"
                  }
                ],
                "name":"UsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":86,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"AllocMemory",
                    "tooltip":"\"AllocMemory<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(totMem/1024/1024,\"#,###,### MB\",\"\")",
                    "xPos":"now",
                    "yPos":"totMem"
                  }
                ],
                "name":"AllocMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":88,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"MaxMemory<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(maxMem/1024/1024,\"#,###,### MB\",\"\")",
                    "xPos":"now",
                    "yPos":"maxMem"
                  }
                ],
                "name":"MaxMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              }
            ],
            "plotId":31,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog6"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog7",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":59,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Threads"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":0.9015151515151516
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":58,
            "w":0.4393939393939394
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":93.0,
                  "lgdMaxWd":160.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":71,
                "name":"Legend",
                "opac":100,
                "ser":[
                  65,
                  67,
                  69,
                  182,
                  61,
                  63
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":64,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":63,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"ThreadsBlocked",
                    "tooltip":"\"ThreadsBlocked\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadBlocked, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadBlocked"
                  }
                ],
                "name":"ThreadsBlocked",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":62,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":61,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"ThreadsNew",
                    "tooltip":"\"ThreadsNew\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadsNew, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsNew"
                  }
                ],
                "name":"ThreadsNew",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":66,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":65,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"ThreadsRunnable",
                    "tooltip":"\"ThreadsRunnable\" +\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+ formatNumber(threadsRunnable, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsRunnable"
                  }
                ],
                "name":"ThreadsRunnable",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":68,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":67,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "sel":"true",
                    "seriesName":"ThreadsTimedWaiting",
                    "tooltip":"\"ThreadsTimedWaiting\"+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(threadsTimedWaiting, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsTimedWaiting"
                  }
                ],
                "name":"ThreadsTimedWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"process",
                "dmadn":"main",
                "id":183,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":182,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"ThreadsWaiting",
                    "tooltip":"\"ThreadsWaiting\"+\"<BR>X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(threadsWaiting, \"###,###\", \"\")",
                    "xPos":"now",
                    "yPos":"threadsWaiting"
                  }
                ],
                "name":"ThreadsWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              }
            ],
            "plotId":60,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog7"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog8",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":41,
            "fontStyle":"",
            "format":"formatNumber(n,\"###,###,###,###\",\"\")",
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Objects"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":298,
            "fontStyle":"",
            "format":null,
            "formatType":0,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Rate"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "objOrder",
              "AmiCenterObjects",
              "AmiCenterObjectsPrep",
              "objMarket"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":1.5800392197337185
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":-1,
            "w":0.9956909897822273
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":98,
                "w":0.1021897810218978
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8978102189781023
              }
            ],
            "p":58,
            "w":0.424269790484054
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":200.0,
                  "lgdMaxWd":164.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":45,
                "name":"Legend",
                "opac":100,
                "ser":[
                  43
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"main",
                "id":44,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":43,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"3",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"type+\"<BR> X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(count, \"###,###,###,###\", \"\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              }
            ],
            "plotId":42,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjectsPrep",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":342,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"3",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"type+\"<BR> X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(rCount, \"###,###,###,###\", \"\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"rCount"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":298
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjectsPrep",
                "dmadn":"main",
                "id":1,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":343,
                    "lineColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "lineSize":"3",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" )"
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"type+\"<BR> X: \"+formatDate(now,\"HH:mm:ss\",\"EST5EDT\")+\"<BR>Y: \"+formatNumber(rCount, \"###,###,###,###\", \"\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"rCount"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":298
              }
            ],
            "plotId":299,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog8"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"linenum",
            "id":"col_0",
            "location":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":67
          },
          {
            "fg":"isError?\"#ff303e\":null",
            "fm":"isError",
            "id":"col_9",
            "location":1,
            "tl":"is Error",
            "tp":"text",
            "width":55
          },
          {
            "fm":"datetime_tx",
            "id":"col_3",
            "location":2,
            "tl":"Datetime Tx",
            "tp":"datetime_sec",
            "width":139
          },
          {
            "fg":"\"#00FFFF\"",
            "fm":"ds",
            "id":"col_6",
            "location":3,
            "sy":"\"bold\"",
            "tl":"Ds",
            "tp":"text",
            "width":100
          },
          {
            "fm":"user",
            "id":"col_5",
            "location":4,
            "tl":"User",
            "tp":"text",
            "width":74
          },
          {
            "bg":"\"#595959\"",
            "fm":"thread",
            "id":"col_4",
            "location":5,
            "tl":"Thread",
            "tp":"text",
            "width":113
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"micros",
            "id":"col_7",
            "location":6,
            "sy":"\"Courier\"",
            "tl":"Micros",
            "tp":"numeric",
            "width":103
          },
          {
            "fm":"query",
            "id":"col_8",
            "location":7,
            "tl":"Query",
            "tp":"text",
            "width":332
          },
          {
            "fm":"line",
            "id":"col_1",
            "location":8,
            "tl":"Line",
            "tp":"text",
            "width":1542
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"datetime_str",
            "id":"col_2",
            "tl":"Datetime Str",
            "tp":"text",
            "width":207
          }
        ],
        "amiPanelId":"AmiOne_log_query_performance",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiOne_log_queries",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"AmiOne_log_query_performance_table",
            "dmtbid":[
              "AmiOne_log_queries"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_9",
            "order":"asc"
          }
        ],
        "titlePnl":{
          "title":"AmiOne_log_queries"
        },
        "upid":"AmiOne_log_query_performance",
        "varTypes":{
          "datetime_str":"String",
          "datetime_tx":"Long",
          "ds":"String",
          "isError":"Boolean",
          "line":"String",
          "linenum":"Integer",
          "micros":"Long",
          "query":"String",
          "thread":"String",
          "user":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"linenum",
            "id":"col_0",
            "location":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          },
          {
            "fm":"line",
            "id":"col_1",
            "location":1,
            "tl":"Line",
            "tp":"text",
            "width":1280
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"AmiOne_log_query_performance1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiOne_log",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"AmiOne_log_query_performance",
            "dmtbid":[
              "AmiOne_log"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiOne_log"
        },
        "upid":"AmiOne_log_query_performance1",
        "varTypes":{
          "line":"String",
          "linenum":"Integer"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiOne_log_query_performance_chart",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiOne_log_queries",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":1,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Datetime Tx"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Micros"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"AmiOne_log_query_performance_chart",
            "dmtbid":[
              "AmiOne_log_full",
              "AmiOne_log_queries"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "p":-1,
                "w":1.0
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.0
              }
            ],
            "p":70,
            "w":1.0
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiOne_log_queries",
                "dmadn":"AmiOne_log_query_performance_chart",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"isError?6:3",
                    "mShape":"\"square\"",
                    "mWidth":"isError?6:3",
                    "name":"legendGroup",
                    "seriesName":"MainLayer",
                    "xPos":"datetime_tx",
                    "yPos":"micros"
                  }
                ],
                "name":"MainLayer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiOne_log_full",
                "dmadn":"AmiOne_log_query_performance_chart",
                "id":5,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":6,
                    "mColor":{
                      "type":"const",
                      "value":"\"#707070\""
                    },
                    "mHeight":"2",
                    "mShape":"\"square\"",
                    "mWidth":"2",
                    "seriesName":"Background",
                    "tooltip":"legendGroup+\"<BR>\"+\"X: \"+formatDateTimeWithSeconds(datetime_tx)+\"<BR>Y: \"+formatNumber(micros, \"#,### Micros\", \"\")",
                    "xPos":"datetime_tx",
                    "yPos":"micros"
                  }
                ],
                "name":"Background",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":7,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiOne_log_query_performance_chart"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"filterValues",
            "id":"col_0",
            "location":0,
            "tl":"Drilldown Values",
            "tp":"text",
            "width":113
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"filterName",
            "id":"col_1",
            "pc":0,
            "tl":"filterName",
            "tp":"text",
            "width":69
          }
        ],
        "amiPanelId":"AmiOne_log_query_performance_filter",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"filters",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"AmiOne_log_query_performance_filter",
            "dmtbid":[
              "filters"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Drilldown "
        },
        "upid":"AmiOne_log_query_performance_filter",
        "varTypes":{
          "filterName":"String",
          "filterValues":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fg":"\"#00FFFF\"",
            "fm":"TABLE",
            "id":"col_0",
            "location":0,
            "tl":"Table",
            "tp":"text",
            "width":85
          },
          {
            "bg":"\"#808080\"",
            "fm":"TYPE",
            "id":"col_1",
            "location":1,
            "tl":"Type",
            "tp":"text",
            "width":130
          },
          {
            "bg":"\"#C0C0C0\"",
            "fg":"\"#000000\"",
            "fm":"NAME",
            "id":"col_2",
            "location":2,
            "tl":"Name",
            "tp":"text",
            "width":141
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"EST_MEMORY",
            "id":"col_3",
            "location":3,
            "pc":0,
            "sy":"\"Courier,bold\"",
            "tl":"Est Memory",
            "tp":"numeric",
            "width":108
          },
          {
            "fg":"\"#FFFF00\"",
            "fm":"COUNT",
            "id":"col_4",
            "location":4,
            "pc":0,
            "tl":"Count",
            "tp":"numeric",
            "width":44
          },
          {
            "fg":"\"#FFFF00\"",
            "fm":"CARDINALITY",
            "id":"col_5",
            "location":5,
            "pc":0,
            "tl":"Cardinality",
            "tp":"numeric",
            "width":71
          },
          {
            "fm":"COMMENT",
            "id":"col_6",
            "location":6,
            "tl":"Comment",
            "tp":"text",
            "width":275
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"AmiTableStatsMemory",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"full_diagnose",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"dm_diagnose",
            "dmtbid":[
              "full_diagnose"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"full_diagnose"
        },
        "upid":"AmiTableStatsMemory",
        "varTypes":{
          "CARDINALITY":"Integer",
          "COMMENT":"String",
          "COUNT":"Integer",
          "EST_MEMORY":"Long",
          "NAME":"String",
          "TABLE":"String",
          "TYPE":"String"
        }
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"CREATE_VIEW_FORM",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "dsrt":"asc",
            "heightPx":28,
            "l":"View",
            "leftPosPx":80,
            "n":"baseView",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":81,
            "v":[
              {
                "k":"VIEW_MAIN",
                "v":"Main"
              }
            ],
            "widthPx":200,
            "zidx":2
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "FormPanel fp = this.getPanel();\n",
                    "String viewName = fp.getFieldValue(\"viewName\");\n",
                    "if(strIs(viewName)){\n",
                    "  String baseViewPanelId = fp.getFieldValue(\"baseView\");\n",
                    "  Panel p = layout.getPanel(baseViewPanelId);\n",
                    "  TabsPanel tp = getViewContainerPanel();\n",
                    "  createView(viewName, tp, p);\n",
                    "  this.getPanel().minimize();\n",
                    "  fp.getField(\"viewName\").setValue(\"\");\n",
                    "}\n",
                    "else{\n",
                    "  session.alert(\"Please give a proper name to the view\");\n",
                    "}\n",
                    "\n"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":32,
            "l":"Create",
            "leftPosPx":79,
            "n":"button",
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":140,
            "widthPx":200,
            "zidx":3
          },
          {
            "dsrt":"asc",
            "heightPx":25,
            "l":"ViewName",
            "leftPosPx":79,
            "n":"viewName",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":34,
            "widthPx":200,
            "zidx":1
          }
        ],
        "upid":"CREATE_VIEW_FORM"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"TableName",
            "id":"col_0",
            "location":0,
            "tl":"Table Name",
            "tp":"text",
            "width":154
          },
          {
            "fm":"RowCount",
            "id":"col_6",
            "location":1,
            "tl":"Row Count",
            "tp":"numeric",
            "width":100
          },
          {
            "fm":"Broadcast",
            "hs":"\"center\"",
            "id":"col_1",
            "location":2,
            "sy":"\"center\"",
            "tl":"Broadcast",
            "tp":"text",
            "width":68
          },
          {
            "fm":"RefreshPeriodMs",
            "id":"col_2",
            "location":3,
            "tl":"Refresh Period Ms",
            "tp":"numeric",
            "width":117
          },
          {
            "fm":"PersistEngine",
            "id":"col_3",
            "location":4,
            "tl":"Persist Engine",
            "tp":"text",
            "width":93
          },
          {
            "fm":"OnUndefColumn",
            "id":"col_4",
            "location":5,
            "tl":"On Undef Column",
            "tp":"text",
            "width":114
          },
          {
            "fm":"DefinedBy",
            "id":"col_5",
            "location":6,
            "tl":"Defined By",
            "tp":"text",
            "width":73
          },
          {
            "fm":"ColumnsCount",
            "id":"col_7",
            "location":7,
            "tl":"Columns Count",
            "tp":"numeric",
            "width":99
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"DiagnoseTableList1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Tables",
        "curtimeUpdateFrequency":1000,
        "customMenu":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"menu_diagnoseTable(this);",
                  "linkedVariables":[
                  ],
                  "name":"onSelected"
                }
              ]
            },
            "display":"\"Diagnose Table\"",
            "id":"DiagnoseTable",
            "position":0,
            "status":"\"enabled\""
          }
        ],
        "dm":[
          {
            "dmadn":"DiagnoseTableList",
            "dmtbid":[
              "Tables"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_6",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"Tables"
        },
        "upid":"DiagnoseTableList1",
        "varTypes":{
          "Broadcast":"Boolean",
          "ColumnsCount":"Integer",
          "DefinedBy":"String",
          "OnUndefColumn":"String",
          "PersistEngine":"String",
          "RefreshPeriodMs":"Long",
          "RowCount":"Integer",
          "TableName":"String"
        }
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div1",
        "amiStyle":{
          "divCl":"#000000",
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"SystemControls",
        "child2":"PNL4",
        "dir":"v",
        "endOffsetPx":49,
        "locked":true,
        "upid":"Div1"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div10",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL2",
        "child2":"SystemsTab",
        "dir":"v",
        "locked":false,
        "offset":0.08958,
        "upid":"Div10"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div11",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main8",
        "child2":"main7",
        "dir":"h",
        "locked":false,
        "offset":0.71143,
        "upid":"Div16"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div12",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main14",
        "child2":"main12",
        "dir":"h",
        "locked":false,
        "offset":0.72753,
        "upid":"Div15"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div13",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main13",
        "child2":"main11",
        "dir":"h",
        "locked":false,
        "offset":0.74606,
        "upid":"Div14"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div14",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div15",
        "child2":"Div16",
        "dir":"v",
        "locked":false,
        "startOffsetPx":240,
        "upid":"Div12"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div15",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL5",
        "child2":"AmiOne_log_query_performance_filter",
        "dir":"h",
        "locked":true,
        "startOffsetPx":88,
        "upid":"Div13"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div16",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiOne_log_query_performance_chart",
        "child2":"AmiOne_log_query_performance",
        "dir":"h",
        "locked":false,
        "offset":0.66969,
        "upid":"Div11"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div17",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div18",
        "child2":"AmiTableStatsMemory",
        "dir":"v",
        "locked":false,
        "offset":0.29063,
        "upid":"Div17"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div18",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div30",
        "child2":"PNL7",
        "dir":"h",
        "locked":false,
        "offset":0.48046,
        "upid":"Div18"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div19",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main20",
        "child2":"Div20",
        "dir":"h",
        "locked":false,
        "offset":0.74107,
        "upid":"Div19"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div2",
        "amiStyle":{
          "divSz":0.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL3",
        "child2":"Div1",
        "dir":"h",
        "locked":false,
        "offset":0.02752,
        "upid":"Div2"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div20",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div27",
        "child2":"timerBlender1",
        "dir":"v",
        "locked":false,
        "offset":0.35761,
        "upid":"Div20"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div21",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main16",
        "child2":"Div22",
        "dir":"h",
        "locked":false,
        "offset":0.70383,
        "upid":"Div21"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div22",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div25",
        "child2":"procBlender1",
        "dir":"v",
        "locked":false,
        "offset":0.36902,
        "upid":"Div22"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div23",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Tabs4",
        "child2":"Div24",
        "dir":"h",
        "locked":false,
        "offset":0.71811,
        "upid":"Div23"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div24",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div26",
        "child2":"triggerBlender1",
        "dir":"v",
        "locked":false,
        "offset":0.3257,
        "upid":"Div24"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div25",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL13",
        "child2":"procBlender4",
        "dir":"v",
        "locked":false,
        "offset":0.49357,
        "upid":"Div25"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div26",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL12",
        "child2":"triggerBlender2",
        "dir":"v",
        "locked":false,
        "offset":0.5312,
        "upid":"Div26"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div27",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL14",
        "child2":"timerBlender3",
        "dir":"v",
        "locked":false,
        "offset":0.45662,
        "upid":"Div27"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div28",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL8",
        "child2":"Div29",
        "dir":"h",
        "locked":false,
        "offset":0.29863,
        "upid":"Div28"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div29",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL9",
        "child2":"PNL11",
        "dir":"h",
        "locked":false,
        "offset":0.37908,
        "upid":"Div29"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog8",
        "child2":"main4",
        "dir":"h",
        "locked":false,
        "offset":0.75124,
        "upid":"Div3"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div30",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL10",
        "child2":"DiagnoseTableList1",
        "dir":"h",
        "locked":false,
        "offset":0.16558,
        "upid":"Div30"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog7",
        "child2":"main2",
        "dir":"h",
        "locked":false,
        "offset":0.75124,
        "upid":"Div4"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog3",
        "child2":"main",
        "dir":"h",
        "locked":false,
        "offset":0.79142,
        "upid":"Div5"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog6",
        "child2":"main1",
        "dir":"h",
        "locked":false,
        "offset":0.7546,
        "upid":"Div6"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div7",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog5",
        "child2":"main3",
        "dir":"h",
        "locked":false,
        "offset":0.75065,
        "upid":"Div7"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div8",
        "amiStyle":{
          "divSz":0.0,
          "pdCl":"#000000",
          "pdShadowCl":"#303030",
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div2",
        "child2":"AmiCenter_amilog1",
        "dir":"v",
        "locked":true,
        "startOffsetPx":665,
        "upid":"Div8"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div9",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main6",
        "child2":"main5",
        "dir":"h",
        "locked":false,
        "offset":0.69908,
        "upid":"Div9"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL10",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"DTLDM.reprocess();",
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:DiagnoseTableList",
                      "varName":"DTLDM"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":59,
            "l":"Refresh",
            "leftPosPx":19,
            "n":"button",
            "style":{
              "fldFontSz":30.0,
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":19,
            "widthPx":216,
            "zidx":1
          }
        ],
        "upid":"PNL10"
      }
    },
    {
      "portletBuilderId":"amirealtimetable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"PropertyName",
            "id":"propertyName",
            "location":0,
            "tl":"Property Name",
            "tp":"text",
            "width":100
          },
          {
            "fm":"PropertyValue",
            "id":"propertyValue",
            "location":1,
            "tl":"Property Value",
            "tp":"text",
            "width":100
          },
          {
            "id":"D",
            "width":100
          },
          {
            "id":"A",
            "width":100
          },
          {
            "id":"!data",
            "width":250
          },
          {
            "id":"M",
            "width":120
          },
          {
            "id":"C",
            "width":120
          },
          {
            "id":"V",
            "width":80
          },
          {
            "id":"W",
            "width":120
          },
          {
            "id":"T",
            "width":100
          },
          {
            "id":"P",
            "width":100
          },
          {
            "id":"E",
            "width":120
          },
          {
            "id":"I",
            "width":100
          }
        ],
        "amiPanelId":"PNL11",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"__PROPERTY",
        "curtimeUpdateFrequency":1000,
        "editDblClk":true,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "filters":{
        },
        "hah":"true",
        "pinCnt":0,
        "rollupEnabled":false,
        "rtDownstreamMode":"SELECTED_OR_ALL",
        "rtSources":[
          "FEED:__PROPERTY"
        ],
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "titlePnl":{
          "title":"__PROPERTY"
        },
        "upid":"PNL11",
        "varTypes":{
          "PropertyName":"String",
          "PropertyValue":"String"
        }
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL12",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"triggerBlender.reprocess();\n",
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:triggerBlender",
                      "varName":"triggerBlender"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":32,
            "l":"Submit",
            "leftPosPx":10,
            "n":"button",
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":155,
            "widthPx":255,
            "zidx":1
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"End Time",
            "leftPosPx":68,
            "n":"datetimeEnd",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":94,
            "widthPx":200,
            "zidx":2
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"Start Time",
            "leftPosPx":67,
            "n":"datetimeStart",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":36,
            "widthPx":200,
            "zidx":1
          }
        ],
        "upid":"PNL12"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL13",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"procBlender.reprocess();\n",
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:procBlender",
                      "varName":"procBlender"
                    },
                    {
                      "ari":"DATAMODEL:triggerBlender",
                      "varName":"triggerBlender"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":32,
            "l":"Submit",
            "leftPosPx":10,
            "n":"button",
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":144,
            "widthPx":255,
            "zidx":1
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"End Time",
            "leftPosPx":68,
            "n":"datetimeEnd",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":83,
            "widthPx":200,
            "zidx":1
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"Start Time",
            "leftPosPx":67,
            "n":"datetimeStart",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":25,
            "widthPx":200,
            "zidx":2
          }
        ],
        "upid":"PNL13"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL14",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"timerBlender.reprocess();\n",
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:timerBlender",
                      "varName":"timerBlender"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":32,
            "l":"Submit",
            "leftPosPx":18,
            "n":"button",
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":147,
            "widthPx":255,
            "zidx":1
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"End Time",
            "leftPosPx":76,
            "n":"datetimeEnd",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":86,
            "widthPx":200,
            "zidx":2
          },
          {
            "disableFutureDatesL":false,
            "heightPx":32,
            "l":"Start Time",
            "leftPosPx":75,
            "n":"datetimeStart",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"datetime",
            "topPosPx":28,
            "widthPx":200,
            "zidx":1
          }
        ],
        "upid":"PNL14"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"layout.getPanel(\"CREATE_VIEW_FORM\").bringToFront();",
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":28,
            "l":"New View",
            "leftPosPx":4,
            "n":"button",
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":11,
            "widthPx":147,
            "zidx":1
          }
        ],
        "upid":"PNL6"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL3",
        "amiStyle":{
          "bgCl":"#000000",
          "pt":"LAYOUT_DEFAULT"
        },
        "dm":[
          {
            "dmadn":"refresh",
            "dmtbid":[
              "z"
            ]
          }
        ],
        "upid":"PNL3"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "dm":[
          {
            "dmadn":"filenames",
            "dmtbid":[
              "_"
            ]
          }
        ],
        "upid":"PNL5"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance_chart\").process(new Map(\"legendGroup\", \"\"+this.getValue()));",
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":18,
            "l":"Legend Group By:",
            "leftPosPx":23,
            "n":"legendGroup",
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":22,
            "v":[
              {
                "k":"ds",
                "v":"Datasource"
              },
              {
                "k":"user",
                "v":"User"
              },
              {
                "k":"thread",
                "v":"Thread"
              },
              {
                "k":"isError",
                "v":"Is_Error"
              }
            ],
            "widthPx":140,
            "zidx":1
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance_filter\").process(new Map(\"filterGroup\", \"\"+this.getValue()));",
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":18,
            "l":"Drilldown Column:",
            "leftPosPx":24,
            "n":"legendGroup1",
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":62,
            "v":[
              {
                "k":"ds",
                "v":"Datasource"
              },
              {
                "k":"user",
                "v":"User"
              },
              {
                "k":"thread",
                "v":"Thread"
              },
              {
                "k":"isError",
                "v":"Is_Error"
              }
            ],
            "widthPx":140,
            "zidx":2
          }
        ],
        "upid":"PNL4"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"PNL6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"layout.getDatamodel(\"AmiOne_log_query_performance\").process(new Map(\"filename\", \"\"+this.getValue()));",
                  "linkedVariables":[
                  ],
                  "name":"onEnterKey"
                },
                {
                  "amiscript":"form_files_show_autocomplete(this, \"AmiOne.log\");",
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                },
                {
                  "amiscript":"form_files_show_autocomplete(this, \"AmiOne.log\");",
                  "linkedVariables":[
                  ],
                  "name":"onFocus"
                }
              ]
            },
            "dsrt":"asc",
            "heightPx":18,
            "l":"AmiOne Log File:",
            "leftPosPx":135,
            "n":"filename",
            "rightPosPx":350,
            "soi":true,
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":16,
            "zidx":1
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "String filename = this.getPanel().getField(\"filename\").getValue();\n",
                    "layout.getDatamodel(\"AmiOne_log_query_performance\").process(new Map(\"filename\", filename));"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":18,
            "l":"Run Analytics",
            "n":"run",
            "rightPosPx":30,
            "style":{
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":15,
            "widthPx":140,
            "zidx":2
          }
        ],
        "upid":"PNL2"
      }
    },
    {
      "portletBuilderId":"amirealtimetable",
      "portletConfig":{
        "amiCols":[
          {
            "fg":"\"#00FFFF\"",
            "fm":"TableName",
            "id":"col_6",
            "location":0,
            "tl":"Table Name",
            "tp":"text",
            "width":154
          },
          {
            "bg":"\"#C0C0C0\"",
            "fg":"\"#000000\"",
            "fm":"ColumnName",
            "id":"col_1",
            "location":1,
            "tl":"Column Name",
            "tp":"text",
            "width":162
          },
          {
            "fm":"DataType",
            "id":"col_2",
            "location":2,
            "tl":"Data Type",
            "tp":"text",
            "width":100
          },
          {
            "fm":"DefinedBy",
            "id":"col_3",
            "location":3,
            "tl":"Defined By",
            "tp":"text",
            "width":100
          },
          {
            "fm":"NoNull",
            "id":"col_4",
            "location":4,
            "tl":"No Null",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Position",
            "id":"col_5",
            "location":5,
            "tl":"Position",
            "tp":"numeric",
            "width":80
          },
          {
            "id":"D",
            "width":100
          },
          {
            "id":"A",
            "width":100
          },
          {
            "id":"!data",
            "width":250
          },
          {
            "id":"M",
            "width":120
          },
          {
            "id":"C",
            "width":120
          },
          {
            "id":"V",
            "width":80
          },
          {
            "id":"W",
            "width":120
          },
          {
            "id":"T",
            "width":100
          },
          {
            "id":"P",
            "width":100
          },
          {
            "id":"E",
            "width":120
          },
          {
            "id":"I",
            "width":100
          },
          {
            "fm":"ColumnFormula",
            "id":"col_0",
            "tl":"Column Formula",
            "tp":"text",
            "width":100
          }
        ],
        "amiPanelId":"PNL7",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"__COLUMN",
        "curtimeUpdateFrequency":1000,
        "editDblClk":true,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "filters":{
        },
        "hah":"true",
        "pinCnt":0,
        "rollupEnabled":false,
        "rtDownstreamMode":"SELECTED_OR_ALL",
        "rtSources":[
          "FEED:__COLUMN"
        ],
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "titlePnl":{
          "title":"__COLUMN"
        },
        "upid":"PNL7",
        "varTypes":{
          "ColumnFormula":"String",
          "ColumnName":"String",
          "DataType":"String",
          "DefinedBy":"String",
          "NoNull":"Boolean",
          "Position":"Integer",
          "TableName":"String"
        }
      }
    },
    {
      "portletBuilderId":"amirealtimetable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"DefinedBy",
            "id":"definedBy",
            "location":0,
            "tl":"Defined By",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Enabled",
            "id":"enabled",
            "location":1,
            "tl":"Enabled",
            "tp":"text",
            "width":100
          },
          {
            "fm":"LastRunTime",
            "id":"lastRunTime",
            "location":2,
            "tl":"Last Run Time",
            "tp":"datetime_sec",
            "width":120
          },
          {
            "fm":"NextRunTime",
            "id":"nextRunTime",
            "location":3,
            "tl":"Next Run Time",
            "tp":"datetime_sec",
            "width":120
          },
          {
            "fm":"Options",
            "id":"options",
            "location":4,
            "tl":"Options",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Priority",
            "id":"priority",
            "location":5,
            "tl":"Priority",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Schedule",
            "id":"schedule",
            "location":6,
            "tl":"Schedule",
            "tp":"text",
            "width":100
          },
          {
            "fm":"TimerName",
            "id":"timerName",
            "location":7,
            "tl":"Timer Name",
            "tp":"text",
            "width":100
          },
          {
            "fm":"TimerType",
            "id":"timerType",
            "location":8,
            "tl":"Timer Type",
            "tp":"text",
            "width":100
          },
          {
            "id":"D",
            "width":100
          },
          {
            "id":"A",
            "width":100
          },
          {
            "id":"!data",
            "width":250
          },
          {
            "id":"M",
            "width":120
          },
          {
            "id":"C",
            "width":120
          },
          {
            "id":"V",
            "width":80
          },
          {
            "id":"W",
            "width":120
          },
          {
            "id":"T",
            "width":100
          },
          {
            "id":"P",
            "width":100
          },
          {
            "id":"E",
            "width":120
          },
          {
            "id":"I",
            "width":100
          }
        ],
        "amiPanelId":"PNL8",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"__TIMER",
        "curtimeUpdateFrequency":1000,
        "editDblClk":true,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "filters":{
        },
        "hah":"true",
        "pinCnt":0,
        "rollupEnabled":false,
        "rtDownstreamMode":"SELECTED_OR_ALL",
        "rtSources":[
          "FEED:__TIMER"
        ],
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "titlePnl":{
          "title":"__TIMER"
        },
        "upid":"PNL8",
        "varTypes":{
          "DefinedBy":"String",
          "Enabled":"Boolean",
          "LastRunTime":"UTC",
          "NextRunTime":"UTC",
          "Options":"String",
          "Priority":"String",
          "Schedule":"String",
          "TimerName":"String",
          "TimerType":"String"
        }
      }
    },
    {
      "portletBuilderId":"amirealtimetable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"DefinedBy",
            "id":"definedBy",
            "location":0,
            "tl":"Defined By",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Enabled",
            "id":"enabled",
            "location":1,
            "tl":"Enabled",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Options",
            "id":"options",
            "location":2,
            "tl":"Options",
            "tp":"text",
            "width":100
          },
          {
            "fm":"Priority",
            "id":"priority",
            "location":3,
            "tl":"Priority",
            "tp":"text",
            "width":100
          },
          {
            "fm":"TableName",
            "id":"tableName",
            "location":4,
            "tl":"Table Name",
            "tp":"text",
            "width":100
          },
          {
            "fm":"TriggerName",
            "id":"triggerName",
            "location":5,
            "tl":"Trigger Name",
            "tp":"text",
            "width":100
          },
          {
            "fm":"TriggerType",
            "id":"triggerType",
            "location":6,
            "tl":"Trigger Type",
            "tp":"text",
            "width":100
          },
          {
            "id":"D",
            "width":100
          },
          {
            "id":"A",
            "width":100
          },
          {
            "id":"!data",
            "width":250
          },
          {
            "id":"M",
            "width":120
          },
          {
            "id":"C",
            "width":120
          },
          {
            "id":"V",
            "width":80
          },
          {
            "id":"W",
            "width":120
          },
          {
            "id":"T",
            "width":100
          },
          {
            "id":"P",
            "width":100
          },
          {
            "id":"E",
            "width":120
          },
          {
            "id":"I",
            "width":100
          }
        ],
        "amiPanelId":"PNL9",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"__TRIGGER",
        "curtimeUpdateFrequency":1000,
        "editDblClk":true,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "filters":{
        },
        "hah":"true",
        "pinCnt":0,
        "rollupEnabled":false,
        "rtDownstreamMode":"SELECTED_OR_ALL",
        "rtSources":[
          "FEED:__TRIGGER"
        ],
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "titlePnl":{
          "title":"__TRIGGER"
        },
        "upid":"PNL9",
        "varTypes":{
          "DefinedBy":"String",
          "Enabled":"Boolean",
          "Options":"String",
          "Priority":"String",
          "TableName":"String",
          "TriggerName":"String",
          "TriggerType":"String"
        }
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"PNLQueriesPerf",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"PNL6",
        "child2":"Tabs2",
        "dir":"h",
        "locked":false,
        "startOffsetPx":42,
        "upid":"PNLQueriesPerf"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"SystemControls",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "heightPx":20,
            "l":"Datasource: ",
            "leftPosPx":91,
            "n":"dsSelect",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":11,
            "v":[
              {
                "k":"AmiLogFile",
                "v":"AmiLogFile"
              },
              {
                "k":" AmiLogFile1",
                "v":"AmiLogFile1"
              },
              {
                "k":" AmiLogFile2",
                "v":"AmiLogFile2"
              }
            ],
            "widthPx":208,
            "zidx":5
          },
          {
            "heightPx":22,
            "l":"Enable Refresh",
            "leftPosPx":565,
            "n":"enableRefresh",
            "style":{
              "fldCss":"refresh",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"checkbox",
            "topPosPx":15,
            "widthPx":32,
            "zidx":1
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").reprocess();\n",
                    "\n",
                    "//layout.getDatamodel(\"main\").reprocess();\n",
                    "// ########################################\n",
                    "// Disclaimer: AMI has automatically replaced session with layout\n",
                    "// ########################################\n",
                    "// session.getDatamodel(\"main\").reprocess();\n",
                    "// ##################END###################\n"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onEnterKey"
                }
              ]
            },
            "dsrt":"asc",
            "heightPx":20,
            "l":"File Name:",
            "leftPosPx":91,
            "n":"filename",
            "style":{
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":true,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":42,
            "widthPx":187,
            "zidx":4
          },
          {
            "heightPx":18,
            "l":"Refresh TIme",
            "leftPosPx":401,
            "n":"refreshTime",
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":20,
            "v":[
              {
                "k":"60",
                "v":"1 Minute"
              },
              {
                "k":"30",
                "v":"30 Seconds"
              },
              {
                "k":"15",
                "v":"15 Seconds"
              },
              {
                "k":"10",
                "v":"10 Seconds"
              },
              {
                "k":"5",
                "v":"5 Seconds"
              },
              {
                "k":"1",
                "v":"1 Second"
              }
            ],
            "widthPx":157,
            "zidx":2
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").process(new Map(\"WHERE\", \"true\", \"fromUpload\", false));\n",
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"refresh\").reprocess();"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":50,
            "l":"Refresh",
            "leftPosPx":304,
            "n":"refreshall",
            "style":{
              "fldBgCl":"#3f3f3f",
              "fldFontCl":"#f5f53f",
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":12,
            "widthPx":89,
            "zidx":7
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "FormPanel fp = this.getPanel();\n",
                    "if(this.getValue() != \"\"){\n",
                    "fp.setValue(\"filename\", this.getValue());\n",
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").reprocess();\n",
                    "}\n",
                    "\n",
                    "// layout.getDatamodel(\"main\").reprocess();\n",
                    "// ########################################\n",
                    "// Disclaimer: AMI has automatically replaced session with layout\n",
                    "// ########################################\n",
                    "// FormPanel fp = this.getPanel();\n",
                    "// if(this.getValue() != \"\"){\n",
                    "// fp.setValue(\"filename\", this.getValue());\n",
                    "// session.getDatamodel(\"main\").reprocess();\n",
                    "// }\n",
                    "// ##################END###################\n"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "dmid":"filenames",
            "dmtbid":"_",
            "dscid":"key",
            "dsrt":"asc",
            "dsvid":"name",
            "heightPx":20,
            "l":"Select",
            "leftPosPx":281,
            "n":"selectFile",
            "style":{
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":42,
            "widthPx":19,
            "zidx":6
          },
          {
            "heightPx":20,
            "l":"Upload File:",
            "leftPosPx":91,
            "n":"uploadFF",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"upload",
            "topPosPx":73,
            "widthPx":208,
            "zidx":6
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"main\").process(new Map(\"WHERE\", \"true\", \"fromUpload\", true));\n",
                    "getDatamodelForView(getViewId(this.getPanel().getId()), \"refresh\").reprocess();"
                  ],
                  "linkedVariables":[
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":21,
            "l":"Upload",
            "leftPosPx":303,
            "n":"uploadall",
            "style":{
              "fldBgCl":"#3f3f3f",
              "fldFontCl":"#f5f53f",
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":72,
            "widthPx":89,
            "zidx":3
          }
        ],
        "htmlTemplate2":"<style>\n.myfield .slider_val{\n  background:white;\n}\n.checkboxField.myfield{\n  background-image: url('data:image/svg+xml;utf8,<svg xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:cc=\"http://web.resource.org/cc/\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:svg=\"http://www.w3.org/2000/svg\" y=\"0px\" x=\"0px\" viewBox=\"0 0 65 65\" > <path fill=\"#000000\" d=\"m32.5 5c-5.4 0-10.444 1.6-14.7 4.3l-5.8-5.8v16.1h16.1l-6.4-6.4c3.2-1.8 6.8-2.8 10.7-2.8 12.2 0 22.1 9.9 22.1 22.1 0 2.9-0.6 5.7-1.6 8.2l4.7 2.8c1.5-3.4 2.3-7.1 2.3-11.0 0-15.1-12.3-27.5-27.5-27.5z\" /> <path fill=\"#ffffff\" d=\"m43.2 51.7c-3.2 1.8-6.8 2.8-10.7 2.8-12.2 0-22.1-9.9-22.1-22.1 0-2.7 0.5-5.3 1.4-7.8l-4.7-2.9c-1.4 3.3-2.1 6.9-2.1 10.6 0 15.2 12.3 27.5 27.5 27.5 5.4 0 10.4-1.6 14.7-4.3l5.8 5.8v-16.1h-16.1l6.4 6.4z\" /> <metadata ><rdf:RDF ><cc:Work ><dc:format >image/svg+xml</dc:format ><dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" /><cc:license rdf:resource=\"http://creativecommons.org/licenses/publicdomain/\" /><dc:publisher ><cc:Agent rdf:about=\"http://openclipart.org/\" ><dc:title >Openclipart</dc:title ></cc:Agent ></dc:publisher ><dc:title >Refresh Icon</dc:title ><dc:date >2013-08-22T04:53:13</dc:date ><dc:description >A refresh icon</dc:description ><dc:source >https://openclipart.org/detail/182094/refresh-icon-by-pianobrad-182094</dc:source ><dc:creator ><cc:Agent ><dc:title >pianoBrad</dc:title ></cc:Agent ></dc:creator ><dc:subject ><rdf:Bag ><rdf:li >design</rdf:li ><rdf:li >icon</rdf:li ><rdf:li >refresh</rdf:li ><rdf:li >web</rdf:li ></rdf:Bag ></dc:subject ></cc:Work ><cc:License rdf:about=\"http://creativecommons.org/licenses/publicdomain/\" ><cc:permits rdf:resource=\"http://creativecommons.org/ns#Reproduction\" /><cc:permits rdf:resource=\"http://creativecommons.org/ns#Distribution\" /><cc:permits rdf:resource=\"http://creativecommons.org/ns#DerivativeWorks\" /></cc:License ></rdf:RDF ></metadata ></svg > ');\n}\n.checkboxField.myfield.checked{\n  background-image: url('data:image/svg+xml;utf8,<svg xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:cc=\"http://web.resource.org/cc/\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:svg=\"http://www.w3.org/2000/svg\" y=\"0px\" x=\"0px\" viewBox=\"0 0 65 65\" > <path fill=\"#ffffff\" d=\"m32.5 5c-5.4 0-10.444 1.6-14.7 4.3l-5.8-5.8v16.1h16.1l-6.4-6.4c3.2-1.8 6.8-2.8 10.7-2.8 12.2 0 22.1 9.9 22.1 22.1 0 2.9-0.6 5.7-1.6 8.2l4.7 2.8c1.5-3.4 2.3-7.1 2.3-11.0 0-15.1-12.3-27.5-27.5-27.5z\" /> <path fill=\"#ffffff\" d=\"m43.2 51.7c-3.2 1.8-6.8 2.8-10.7 2.8-12.2 0-22.1-9.9-22.1-22.1 0-2.7 0.5-5.3 1.4-7.8l-4.7-2.9c-1.4 3.3-2.1 6.9-2.1 10.6 0 15.2 12.3 27.5 27.5 27.5 5.4 0 10.4-1.6 14.7-4.3l5.8 5.8v-16.1h-16.1l6.4 6.4z\" /> <metadata ><rdf:RDF ><cc:Work ><dc:format >image/svg+xml</dc:format ><dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" /><cc:license rdf:resource=\"http://creativecommons.org/licenses/publicdomain/\" /><dc:publisher ><cc:Agent rdf:about=\"http://openclipart.org/\" ><dc:title >Openclipart</dc:title ></cc:Agent ></dc:publisher ><dc:title >Refresh Icon</dc:title ><dc:date >2013-08-22T04:53:13</dc:date ><dc:description >A refresh icon</dc:description ><dc:source >https://openclipart.org/detail/182094/refresh-icon-by-pianobrad-182094</dc:source ><dc:creator ><cc:Agent ><dc:title >pianoBrad</dc:title ></cc:Agent ></dc:creator ><dc:subject ><rdf:Bag ><rdf:li >design</rdf:li ><rdf:li >icon</rdf:li ><rdf:li >refresh</rdf:li ><rdf:li >web</rdf:li ></rdf:Bag ></dc:subject ></cc:Work ><cc:License rdf:about=\"http://creativecommons.org/licenses/publicdomain/\" ><cc:permits rdf:resource=\"http://creativecommons.org/ns#Reproduction\" /><cc:permits rdf:resource=\"http://creativecommons.org/ns#Distribution\" /><cc:permits rdf:resource=\"http://creativecommons.org/ns#DerivativeWorks\" /></cc:License ></rdf:RDF ></metadata ></svg > ');\n}\n</style>",
        "upid":"SystemControls"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"SystemsTab",
        "amiStyle":{
          "htwpo":false,
          "pt":"LAYOUT_DEFAULT",
          "undock":true
        },
        "defaultTab":"tab0",
        "tabs":[
          {
            "child":"VIEW_MAIN",
            "id":"tab0",
            "nf":"\"Main\""
          }
        ],
        "upid":"SystemsTab"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "defaultTab":"tab0",
        "tabs":[
          {
            "child":"AmiCenter_amilog",
            "id":"tab0",
            "nf":"\"Overview\""
          },
          {
            "child":"Div5",
            "id":"tab1",
            "nf":"\"Msgs Queued\""
          },
          {
            "child":"Div6",
            "id":"tab2",
            "nf":"\"Memory Details\""
          },
          {
            "child":"Div4",
            "id":"tab3",
            "nf":"\"Threads\""
          },
          {
            "child":"Div7",
            "id":"tab4",
            "nf":"\"Events\""
          },
          {
            "child":"Div3",
            "id":"tab5",
            "nf":"\"Objects\""
          },
          {
            "child":"Div9",
            "id":"tab6",
            "nf":"\"Web\""
          },
          {
            "child":"Div11",
            "id":"tab7",
            "nf":"\"Web Balancer\""
          },
          {
            "child":"Div13",
            "id":"tab8",
            "nf":"\"Web Balancer Servers\""
          },
          {
            "child":"Div12",
            "id":"tab9",
            "nf":"\"Web Balancer Clients\""
          },
          {
            "child":"Div19",
            "id":"tab10",
            "nf":"\"Timers\""
          },
          {
            "child":"Div23",
            "id":"tab11",
            "nf":"\"Triggers\""
          },
          {
            "child":"Div21",
            "id":"tab12",
            "nf":"\"Procedures\""
          }
        ],
        "upid":"Tabs1"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "defaultTab":"tab0",
        "tabs":[
          {
            "child":"AmiOne_log_query_performance1",
            "id":"tab0",
            "nf":"\"Log File\""
          },
          {
            "child":"Div14",
            "id":"tab1",
            "nf":"\"Performance Charts\""
          }
        ],
        "upid":"Tabs2"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "dmPos":{
          "h":50,
          "w":100,
          "x":500,
          "y":125
        },
        "tabs":[
        ],
        "upid":"Tabs3"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "defaultTab":"tab0",
        "tabs":[
          {
            "child":"main18",
            "id":"tab0",
            "nf":"\"Triggers\""
          },
          {
            "child":"triggerBlender",
            "id":"tab1",
            "nf":"\"Average Run Time\""
          },
          {
            "child":"triggerBlender3",
            "id":"tab2",
            "nf":"\"New Tab\""
          }
        ],
        "upid":"Tabs3"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"VIEW_MAIN",
        "amiStyle":{
          "divSz":0.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div8",
        "child2":"Tabs1",
        "dir":"h",
        "locked":true,
        "startOffsetPx":107,
        "upid":"VIEW_MAIN"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":118
          },
          {
            "fm":"startTime",
            "id":"col_9",
            "location":1,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Start Time",
            "tp":"time_sec",
            "width":69
          },
          {
            "bg":"\"#ffff3f\"",
            "fg":"\"#000000\"",
            "fm":"totExecTime",
            "id":"col_5",
            "location":2,
            "pc":0,
            "tl":"Total Executed Time",
            "tp":"numeric",
            "width":133
          },
          {
            "fm":"added",
            "id":"col_3",
            "location":3,
            "pc":0,
            "tl":"Added",
            "tp":"numeric",
            "width":73
          },
          {
            "fm":"processed",
            "id":"col_4",
            "location":4,
            "pc":0,
            "tl":"Processed",
            "tp":"numeric",
            "width":347
          },
          {
            "fm":"added-processed",
            "id":"col_11",
            "location":5,
            "pc":0,
            "tl":"Added-Processed",
            "tp":"text",
            "width":113
          },
          {
            "fm":"execs",
            "id":"col_6",
            "location":6,
            "pc":0,
            "tl":"Execs",
            "tp":"numeric",
            "width":67
          },
          {
            "fm":"inThreadPool",
            "id":"col_7",
            "location":7,
            "pc":0,
            "tl":"In Thread Pool",
            "tp":"text",
            "width":95
          },
          {
            "fm":"name",
            "id":"col_8",
            "location":8,
            "pc":0,
            "tl":"Name",
            "tp":"text",
            "width":101
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"cmd",
            "id":"col_0",
            "pc":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"linenum",
            "id":"col_10",
            "pc":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":59
          }
        ],
        "amiPanelId":"main",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Events",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"Now\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Start Time\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Total Executed Time\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Added-Processed\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Execs\"){\n",
                "  \n",
                "}\n",
                "if(column==\"In Thread Pool\"){\n",
                "  \n",
                "}\n",
                "if(column==\"T\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Events"
        },
        "upid":"main",
        "varTypes":{
          "T":"String",
          "added":"Long",
          "cmd":"String",
          "execs":"Long",
          "inThreadPool":"Boolean",
          "linenum":"Integer",
          "name":"String",
          "now":"Long",
          "processed":"Long",
          "startTime":"Long",
          "totExecTime":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "location":0,
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":58
          },
          {
            "fm":"now",
            "id":"col_2",
            "location":1,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "bg":"gradient(100.0*freeMem/totMem,100,\"#32cd32\",50,\"#FFFF00\",0,\"#ff0000\")",
            "fm":"100.0*freeMem/totMem",
            "id":"col_13",
            "location":2,
            "pc":2,
            "tl":"% Free Mem",
            "tp":"numeric",
            "width":84
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"maxMem/1024/1024",
            "id":"col_4",
            "location":3,
            "pc":0,
            "tl":"Max Mem (MB)",
            "tp":"numeric",
            "width":98
          },
          {
            "fm":"freeMem/1024/1024",
            "id":"col_3",
            "location":4,
            "pc":0,
            "tl":"Free Mem (MB)",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totMem/1024/1024",
            "id":"col_5",
            "location":5,
            "pc":0,
            "tl":"Alloc Mem (MB)",
            "tp":"numeric",
            "width":102
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"(totMem-freeMem)/1024/1024",
            "id":"col_12",
            "location":6,
            "pc":0,
            "tl":"Used Mem (MB)",
            "tp":"numeric",
            "width":104
          },
          {
            "fm":"threadBlocked",
            "id":"col_6",
            "location":7,
            "pc":0,
            "tl":"Thread Blocked",
            "tp":"numeric",
            "width":101
          },
          {
            "fm":"threadsNew",
            "id":"col_7",
            "location":8,
            "pc":0,
            "tl":"Threads New",
            "tp":"numeric",
            "width":87
          },
          {
            "fm":"threadsRunnable",
            "id":"col_8",
            "location":9,
            "pc":0,
            "tl":"Threads Runnable",
            "tp":"numeric",
            "width":116
          },
          {
            "fm":"threadsTimedWaiting",
            "id":"col_9",
            "location":10,
            "pc":0,
            "tl":"Threads Timed Waiting",
            "tp":"numeric",
            "width":143
          },
          {
            "fm":"threadsWaiting",
            "id":"col_10",
            "location":11,
            "pc":0,
            "tl":"Threads Waiting",
            "tp":"numeric",
            "width":104
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"cmd",
            "id":"col_0",
            "pc":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"linenum",
            "id":"col_11",
            "pc":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          }
        ],
        "amiPanelId":"main1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"process",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"T\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Now\"){\n",
                "  \n",
                "}\n",
                "if(column==\"% Free Mem\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Max Mem (MB)\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Free Mem (MB)\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Alloc Mem (MB)\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Used Mem (MB)\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Thread Blocked\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads New\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Runnable\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Timed Waiting\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Waiting\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"process"
        },
        "upid":"main1",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "freeMem":"Long",
          "linenum":"Integer",
          "maxMem":"Long",
          "now":"Long",
          "threadBlocked":"Integer",
          "threadsNew":"Integer",
          "threadsRunnable":"Integer",
          "threadsTimedWaiting":"Integer",
          "threadsWaiting":"Integer",
          "totMem":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":154
          },
          {
            "fm":"cmd",
            "id":"col_1",
            "location":1,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"now",
            "id":"col_3",
            "location":2,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fm":"address",
            "id":"col_4",
            "location":3,
            "tl":"Address",
            "tp":"text",
            "width":142
          },
          {
            "fm":"activeSessions",
            "id":"col_5",
            "location":4,
            "tl":"active Sessions",
            "tp":"numeric",
            "width":100
          },
          {
            "fg":"status==\"UP\"? \"#32cd32\" :(status==\"DOWN\"? \"#ff9f3f\" :\"#FF69B4\")",
            "fm":"status",
            "id":"col_6",
            "location":5,
            "tl":"Status",
            "tp":"text",
            "width":51
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_0",
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          }
        ],
        "amiPanelId":"main11",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerServer",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerServer"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_0",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"AmiWebBalancerServer"
        },
        "upid":"main11",
        "varTypes":{
          "T":"String",
          "activeSessions":"Integer",
          "address":"String",
          "cmd":"String",
          "linenum":"Integer",
          "now":"Long",
          "status":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":149
          },
          {
            "fm":"cmd",
            "id":"col_1",
            "location":1,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"now",
            "id":"col_3",
            "location":2,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fm":"address",
            "id":"col_4",
            "location":3,
            "tl":"Address",
            "tp":"text",
            "width":85
          },
          {
            "fm":"startTime",
            "id":"col_5",
            "location":4,
            "tl":"start Time",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fm":"IdleSince",
            "id":"col_6",
            "location":5,
            "tl":"Idle Since",
            "tp":"numeric",
            "width":118
          },
          {
            "fm":"target",
            "id":"col_7",
            "location":6,
            "tl":"Target",
            "tp":"text",
            "width":139
          },
          {
            "fm":"connections",
            "id":"col_8",
            "location":7,
            "tl":"Connections",
            "tp":"numeric",
            "width":82
          },
          {
            "fm":"bytesToServer",
            "id":"col_9",
            "location":8,
            "tl":"bytes To Server",
            "tp":"numeric",
            "width":100
          },
          {
            "fm":"bytesToClient",
            "id":"col_10",
            "location":9,
            "tl":"bytes To Client",
            "tp":"numeric",
            "width":95
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_0",
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          }
        ],
        "amiPanelId":"main12",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerClient",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerClient"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_0",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"AmiWebBalancerClient"
        },
        "upid":"main12",
        "varTypes":{
          "IdleSince":"Long",
          "T":"String",
          "address":"String",
          "bytesToClient":"Long",
          "bytesToServer":"Long",
          "cmd":"String",
          "connections":"Long",
          "linenum":"Integer",
          "now":"Long",
          "startTime":"Long",
          "target":"String"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main13",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerServer",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"active Sessions"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Active Sessions"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":6,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Server Status"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerServer"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":115,
                "w":0.09692372524230931
              },
              {
                "p":-1,
                "w":1.9030762747576908
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":115,
                "w":0.09692372524230931
              },
              {
                "p":-1,
                "w":1.9030762747576908
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":115,
                "w":0.09692372524230931
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9030762747576908
              }
            ],
            "p":70,
            "w":1.0
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerServer",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "name":"address",
                    "seriesName":"Layer",
                    "tooltip":"address+\"<BR>\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeSessions, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeSessions"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":5,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerServer",
                "dmadn":"main",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "name":"address",
                    "seriesName":"Layer",
                    "tooltip":"address+\"<BR>\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(status==\"UP\"?1:(status==\"DOWN\"?0:-1), \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"status==\"UP\"?1:(status==\"DOWN\"?0:-1)"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":10,
                "name":"Legend",
                "opac":100,
                "ser":[
                  8
                ],
                "type":"Legend"
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main13"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main14",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerClient",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Client Connections"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":8,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"bytes To Server"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerClient"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.09776654024441636
              },
              {
                "p":-1,
                "w":1.9022334597555837
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.09776654024441636
              },
              {
                "p":-1,
                "w":1.9022334597555837
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.09776654024441636
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9022334597555837
              }
            ],
            "p":70,
            "w":1.0
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerClient",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Layer",
                    "xPos":"now"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":5,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerClient",
                "dmadn":"main",
                "id":11,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":10,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"BytesToServer",
                    "xPos":"now"
                  }
                ],
                "name":"BytesToServer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerClient",
                "dmadn":"main",
                "id":13,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":14,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), +0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), +0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"BytesToClient",
                    "xPos":"now"
                  }
                ],
                "name":"BytesToClient",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":12,
                "name":"Legend",
                "opac":100,
                "ser":[
                  10,
                  14
                ],
                "type":"Legend"
              }
            ],
            "plotId":9,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main14"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main16",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterStoredProcs",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-45.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Procedure Run Count"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":6,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Procedure Run Time"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"procBlender",
            "dmtbid":[
              "AmiCenterStoredProcsProcessed"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.11161217587373168
              },
              {
                "p":-1,
                "w":1.8883878241262682
              }
            ],
            "p":-1,
            "w":1.4004424778761062
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.11161217587373168
              },
              {
                "p":-1,
                "w":1.8883878241262682
              }
            ],
            "p":-1,
            "w":1.2577433628318584
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.11161217587373168
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8883878241262682
              }
            ],
            "p":103,
            "w":0.3418141592920354
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcsProcessed",
                "dmadn":"procBlender",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Y: \"+formatNumber(count, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":5,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcsProcessed",
                "dmadn":"procBlender",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Y: \"+formatNumber(Diff, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"Diff"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":10,
                "name":"Legend",
                "opac":100,
                "ser":[
                  8
                ],
                "type":"Legend"
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main16"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main18",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-45.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":11,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Event Count"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Trigger Total Run Time"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":6,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Trigger Run Time"
          }
        },
        "axisLcnts":[
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"triggerBlender",
            "dmtbid":[
              "AmiCenterTriggersProcessed"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.08838095238095238
              },
              {
                "p":-1,
                "w":1.9116190476190478
              }
            ],
            "p":-1,
            "w":1.1535836177474403
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.08838095238095238
              },
              {
                "p":-1,
                "w":1.9116190476190478
              }
            ],
            "p":-1,
            "w":1.4197952218430034
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.08838095238095238
              },
              {
                "p":-1,
                "w":1.9116190476190478
              }
            ],
            "p":-1,
            "w":1.0716723549488054
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":116,
                "w":0.08838095238095238
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9116190476190478
              }
            ],
            "p":52,
            "w":0.35494880546075086
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggersProcessed",
                "dmadn":"triggerBlender",
                "id":14,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":13,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Count: \"+formatNumberCompact(count)",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":11
              }
            ],
            "plotId":12,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggersProcessed",
                "dmadn":"triggerBlender",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Time: \"+formatNumber(millis, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":5,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggersProcessed",
                "dmadn":"triggerBlender",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Y: \"+formatNumber(Diff, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"Diff"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":10,
                "name":"Legend",
                "opac":100,
                "ser":[
                  8
                ],
                "type":"Legend"
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main18"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "location":0,
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":58
          },
          {
            "fm":"cmd",
            "id":"col_0",
            "location":1,
            "pc":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"now",
            "id":"col_2",
            "location":2,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"threadBlocked",
            "id":"col_6",
            "location":3,
            "pc":0,
            "tl":"Thread Blocked",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#d229db\"",
            "fm":"threadsNew",
            "id":"col_7",
            "location":4,
            "pc":0,
            "tl":"Threads New",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"threadsRunnable",
            "id":"col_8",
            "location":5,
            "pc":0,
            "tl":"Threads Runnable",
            "tp":"numeric",
            "width":116
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"threadsTimedWaiting",
            "id":"col_9",
            "location":6,
            "pc":0,
            "tl":"Threads Timed Waiting",
            "tp":"numeric",
            "width":143
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"threadsWaiting",
            "id":"col_10",
            "location":7,
            "pc":0,
            "tl":"Threads Waiting",
            "tp":"numeric",
            "width":104
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"totMem",
            "id":"col_5",
            "pc":0,
            "tl":"tot Mem",
            "tp":"numeric",
            "width":93
          },
          {
            "fm":"maxMem",
            "id":"col_4",
            "pc":0,
            "tl":"max Mem",
            "tp":"numeric",
            "width":100
          },
          {
            "fm":"freeMem",
            "id":"col_3",
            "pc":0,
            "tl":"free Mem",
            "tp":"numeric",
            "width":93
          },
          {
            "fm":"linenum",
            "id":"col_11",
            "pc":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          },
          {
            "fm":"sameFreeMem",
            "id":"col_20",
            "pc":0,
            "tl":"same Free Mem",
            "tp":"text",
            "width":104
          },
          {
            "fm":"maxA",
            "id":"col_13",
            "pc":0,
            "tl":"max A",
            "tp":"text",
            "width":46
          },
          {
            "fm":"maxP",
            "id":"col_12",
            "pc":0,
            "tl":"max P",
            "tp":"text",
            "width":46
          },
          {
            "fm":"totA",
            "id":"col_15",
            "pc":0,
            "tl":"tot A",
            "tp":"text",
            "width":40
          },
          {
            "fm":"totP",
            "id":"col_14",
            "pc":0,
            "tl":"tot P",
            "tp":"text",
            "width":40
          },
          {
            "fm":"freeA",
            "id":"col_17",
            "pc":0,
            "tl":"free A",
            "tp":"text",
            "width":44
          },
          {
            "fm":"freeP",
            "id":"col_16",
            "pc":0,
            "tl":"free P",
            "tp":"text",
            "width":44
          },
          {
            "fm":"sameTotMem",
            "id":"col_19",
            "pc":0,
            "tl":"same Tot Mem",
            "tp":"text",
            "width":95
          },
          {
            "fm":"sameMaxMem",
            "id":"col_18",
            "pc":0,
            "tl":"same Max Mem",
            "tp":"text",
            "width":102
          }
        ],
        "amiPanelId":"main2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"process",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"T\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Now\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Thread Blocked\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads New\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Runnable\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Timed Waiting\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Threads Waiting\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"process"
        },
        "upid":"main2",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "freeA":"Boolean",
          "freeMem":"Long",
          "freeP":"Boolean",
          "linenum":"Integer",
          "maxA":"Boolean",
          "maxMem":"Long",
          "maxP":"Boolean",
          "now":"Long",
          "sameFreeMem":"Boolean",
          "sameMaxMem":"Boolean",
          "sameTotMem":"Boolean",
          "threadBlocked":"Integer",
          "threadsNew":"Integer",
          "threadsRunnable":"Integer",
          "threadsTimedWaiting":"Integer",
          "threadsWaiting":"Integer",
          "totA":"Boolean",
          "totMem":"Long",
          "totP":"Boolean"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main20",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTimers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-45.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Timer Total Run Time"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":5,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Timer Run Time"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"timerBlender",
            "dmtbid":[
              "AmiCenterTimersProcessed",
              "AmiCenterTimers"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":107,
                "w":0.08152380952380953
              },
              {
                "p":-1,
                "w":1.9184761904761904
              }
            ],
            "p":-1,
            "w":1.3823529411764706
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":107,
                "w":0.08152380952380953
              },
              {
                "p":-1,
                "w":1.9184761904761904
              }
            ],
            "p":-1,
            "w":1.3176470588235294
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":107,
                "w":0.08152380952380953
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9184761904761904
              }
            ],
            "p":102,
            "w":0.3
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimers",
                "dmadn":"timerBlender",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"TotalRunTime",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Y: \"+formatNumber(millis, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"TotalRunTime",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":14,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimersProcessed",
                "dmadn":"timerBlender",
                "id":8,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":7,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Diff",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatDate(now,\"HH:mm:ss\",session.getTimeZone())+\"<BR>Y: \"+formatNumber(Diff, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"Diff"
                  }
                ],
                "name":"Diff",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":5
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":13,
                "name":"Legend",
                "opac":100,
                "ser":[
                  7
                ],
                "type":"Legend"
              }
            ],
            "plotId":6,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main20"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fm":"objsCount",
            "id":"col_3",
            "location":1,
            "pc":0,
            "tl":"Objs Count",
            "tp":"numeric",
            "width":75
          },
          {
            "fm":"relaysCount",
            "id":"col_4",
            "location":2,
            "pc":0,
            "tl":"Relays Count",
            "tp":"numeric",
            "width":88
          },
          {
            "fm":"strPoolSize",
            "id":"col_5",
            "location":3,
            "pc":0,
            "tl":"Str Pool Size",
            "tp":"numeric",
            "width":85
          },
          {
            "fm":"objs",
            "id":"col_6",
            "location":4,
            "pc":0,
            "tl":"Objs",
            "tp":"numeric",
            "width":67
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"upds",
            "id":"col_7",
            "location":5,
            "pc":0,
            "tl":"Upds",
            "tp":"numeric",
            "width":67
          },
          {
            "fm":"dels",
            "id":"col_8",
            "location":6,
            "pc":0,
            "tl":"Dels",
            "tp":"numeric",
            "width":40
          },
          {
            "fm":"delUnks",
            "id":"col_9",
            "location":7,
            "pc":0,
            "tl":"Del Unks",
            "tp":"numeric",
            "width":62
          },
          {
            "fm":"logins",
            "id":"col_10",
            "location":8,
            "pc":0,
            "tl":"Logins",
            "tp":"numeric",
            "width":48
          },
          {
            "fm":"logouts",
            "id":"col_11",
            "location":9,
            "pc":0,
            "tl":"Logouts",
            "tp":"numeric",
            "width":56
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"events",
            "id":"col_12",
            "location":10,
            "pc":0,
            "tl":"Events",
            "tp":"numeric",
            "width":75
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"relayEvents",
            "id":"col_13",
            "location":11,
            "pc":0,
            "tl":"Relay Events",
            "tp":"numeric",
            "width":86
          },
          {
            "fm":"commandDefs",
            "id":"col_14",
            "location":12,
            "pc":0,
            "tl":"Command Defs",
            "tp":"numeric",
            "width":100
          },
          {
            "fm":"dsQueries",
            "id":"col_15",
            "location":13,
            "pc":0,
            "tl":"Ds Queries",
            "tp":"numeric",
            "width":75
          },
          {
            "fm":"snapshots",
            "id":"col_16",
            "location":14,
            "pc":0,
            "tl":"Snapshots",
            "tp":"numeric",
            "width":71
          },
          {
            "fg":"\"#30f8ff\"",
            "fm":"objExpires",
            "id":"col_17",
            "location":15,
            "pc":0,
            "tl":"Obj Expires",
            "tp":"numeric",
            "width":77
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"cmd",
            "id":"col_0",
            "pc":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"linenum",
            "id":"col_18",
            "pc":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":115
          }
        ],
        "amiPanelId":"main3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterEvents",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"Now\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Objs Count\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Relays Count\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Str Pool Size\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Objs\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Upds\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Del Unks\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Events\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Relay Events\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Command Defs\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Ds Queries\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Obj Expires\"){\n",
                "  \n",
                "}\n",
                "if(column==\"T\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterEvents"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiCenterEvents"
        },
        "upid":"main3",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "commandDefs":"Long",
          "delUnks":"Long",
          "dels":"Long",
          "dsQueries":"Long",
          "events":"Long",
          "linenum":"Integer",
          "logins":"Long",
          "logouts":"Long",
          "now":"Long",
          "objExpires":"Long",
          "objs":"Long",
          "objsCount":"Long",
          "relayEvents":"Long",
          "relaysCount":"Integer",
          "snapshots":"Long",
          "strPoolSize":"Integer",
          "upds":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "location":0,
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":119
          },
          {
            "fm":"now",
            "id":"col_2",
            "location":1,
            "pc":0,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":238
          },
          {
            "bg":"\"#ffff3f\"",
            "fg":"\"#000000\"",
            "fm":"type",
            "id":"col_3",
            "location":2,
            "pc":0,
            "tl":"Type",
            "tp":"text",
            "width":349
          },
          {
            "fm":"count",
            "id":"col_4",
            "location":3,
            "pc":0,
            "tl":"Count",
            "tp":"numeric",
            "width":275
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_5",
            "pc":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          },
          {
            "fm":"cmd",
            "id":"col_0",
            "pc":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          }
        ],
        "amiPanelId":"main4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterObjects",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "if(column==\"T\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Now\"){\n",
                "  \n",
                "}\n",
                "if(column==\"Type\"){\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
              ],
              "name":"onCellClicked"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_2",
            "order":"asc"
          }
        ],
        "titlePnl":{
          "title":"AmiCenterObjects"
        },
        "upid":"main4",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "count":"Integer",
          "linenum":"Integer",
          "now":"Long",
          "type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":125
          },
          {
            "fm":"now",
            "id":"col_3",
            "location":1,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"activeSessions",
            "id":"col_4",
            "location":2,
            "tl":"Active Sessions",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"activeConnections",
            "id":"col_6",
            "location":3,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":121
          },
          {
            "fg":"\"#cb28d3\"",
            "fm":"httpServices",
            "id":"col_5",
            "location":4,
            "tl":"Http Services",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"userRows",
            "id":"col_7",
            "location":5,
            "tl":"User Rows",
            "tp":"numeric",
            "width":93
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"userHiddenRows",
            "id":"col_8",
            "location":6,
            "tl":"User Hidden Rows",
            "tp":"numeric",
            "width":118
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"cachedRows",
            "id":"col_9",
            "location":7,
            "tl":"Cached Rows",
            "tp":"numeric",
            "width":90
          },
          {
            "fm":"centersConnected",
            "id":"col_10",
            "location":8,
            "tl":"Centers Connected",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"openedConnections",
            "id":"col_11",
            "location":9,
            "tl":"Opened Connections",
            "tp":"numeric",
            "width":132
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_0",
            "tl":"Linenum",
            "tp":"numeric",
            "width":65
          },
          {
            "fm":"cmd",
            "id":"col_1",
            "tl":"Cmd",
            "tp":"text",
            "width":40
          }
        ],
        "amiPanelId":"main5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebHttpServer",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebHttpServer"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_4",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"AmiWebHttpServer"
        },
        "upid":"main5",
        "varTypes":{
          "T":"String",
          "activeConnections":"Long",
          "activeSessions":"Integer",
          "cachedRows":"Long",
          "centersConnected":"Integer",
          "cmd":"String",
          "httpServices":"Long",
          "linenum":"Integer",
          "now":"Long",
          "openedConnections":"Long",
          "userHiddenRows":"Long",
          "userRows":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebHttpServer",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":55.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Active"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":17,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Http Services"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":8,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Rows"
          }
        },
        "axisLcnts":[
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebHttpServer"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.07737397420867527
              },
              {
                "p":-1,
                "w":1.9226260257913248
              }
            ],
            "p":-1,
            "w":1.2481927710843375
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.07737397420867527
              },
              {
                "p":-1,
                "w":1.9226260257913248
              }
            ],
            "p":-1,
            "w":1.219277108433735
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.07737397420867527
              },
              {
                "p":-1,
                "w":1.9226260257913248
              }
            ],
            "p":-1,
            "w":1.291566265060241
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":99,
                "w":0.07737397420867527
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9226260257913248
              }
            ],
            "p":50,
            "w":0.24096385542168677
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dLine",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Active Sessions",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeSessions, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeSessions"
                  }
                ],
                "name":"Active Sessions",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":5,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":6,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num+1"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Active Connections",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeConnections, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeConnections"
                  }
                ],
                "name":"Active Connections",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":7,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4,
                  6
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":20,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":19,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+6)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Http Services",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(httpServices, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"httpServices"
                  }
                ],
                "name":"Http Services",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":17
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":21,
                "name":"Legend",
                "opac":100,
                "ser":[
                  19
                ],
                "type":"Legend"
              }
            ],
            "plotId":18,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":12,
                "name":"Legend",
                "opac":100,
                "ser":[
                  16,
                  10,
                  14
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":11,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":10,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+2)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Rows",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(userRows, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"userRows"
                  }
                ],
                "name":"User Rows",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":13,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":14,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+3)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Hidden Rows",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(userHiddenRows, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"userHiddenRows"
                  }
                ],
                "name":"User Hidden Rows",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":15,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":16,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)"
                    },
                    "lineSize":"1",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+5)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Cached Rows",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(cachedRows, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"cachedRows"
                  }
                ],
                "name":"Cached Rows",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              }
            ],
            "plotId":9,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main6"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":145
          },
          {
            "fm":"cmd",
            "id":"col_1",
            "location":1,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          },
          {
            "fm":"now",
            "id":"col_3",
            "location":2,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":107
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"activeConnections",
            "id":"col_8",
            "location":3,
            "tl":"active Connections",
            "tp":"numeric",
            "width":119
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"clientsActive",
            "id":"col_4",
            "location":4,
            "tl":"Clients Active",
            "tp":"numeric",
            "width":88
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"clientsIdle",
            "id":"col_5",
            "location":5,
            "tl":"Clients Idle",
            "tp":"numeric",
            "width":74
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"stickyCount",
            "id":"col_11",
            "location":6,
            "tl":"Sticky Count",
            "tp":"numeric",
            "width":82
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"serversUp",
            "id":"col_6",
            "location":7,
            "tl":"Servers Up",
            "tp":"numeric",
            "width":75
          },
          {
            "fg":"\"#d229db\"",
            "fm":"serversDown",
            "id":"col_7",
            "location":8,
            "tl":"Servers Down",
            "tp":"numeric",
            "width":91
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totBytesToServers",
            "id":"col_9",
            "location":9,
            "tl":"tot Bytes To Servers",
            "tp":"numeric",
            "width":126
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"totBytesToClients",
            "id":"col_10",
            "location":10,
            "tl":"tot Bytes To Clients",
            "tp":"numeric",
            "width":121
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_0",
            "tl":"Linenum",
            "tp":"numeric",
            "width":59
          }
        ],
        "amiPanelId":"main7",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerStats",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerStats"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiWebBalancerStats"
        },
        "upid":"main7",
        "varTypes":{
          "T":"String",
          "activeConnections":"Long",
          "clientsActive":"Integer",
          "clientsIdle":"Integer",
          "cmd":"String",
          "linenum":"Integer",
          "now":"Long",
          "serversDown":"Integer",
          "serversUp":"Integer",
          "stickyCount":"Integer",
          "totBytesToClients":"Long",
          "totBytesToServers":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main8",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerStats",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Summary"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":14,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"servers Up"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":21,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Bytes "
          },
          "L_3_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":28,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Server Sessions"
          },
          "L_4_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":33,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Client Connections"
          }
        },
        "axisLcnts":[
          1,
          1,
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerStats",
              "AmiWebBalancerServer",
              "AmiWebBalancerClient"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":-1,
            "w":1.0959264126149801
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":-1,
            "w":0.6701708278580815
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":-1,
            "w":1.2614980289093296
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":-1,
            "w":1.0565045992115636
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":-1,
            "w":1.4901445466491456
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":106,
                "w":0.08933839022334598
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.910661609776654
              }
            ],
            "p":54,
            "w":0.4257555847568988
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Active Connections",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeConnections, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeConnections"
                  }
                ],
                "name":"Active Connections",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":7,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +1"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Clients Active",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(clientsActive, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"clientsActive"
                  }
                ],
                "name":"Clients Active",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":10,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":11,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +2"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Clients Idle",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeConnections, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeConnections"
                  }
                ],
                "name":"Clients Idle",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":12,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":13,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +3"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Sticky Count",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeConnections, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeConnections"
                  }
                ],
                "name":"Sticky Count",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":9,
                "name":"Legend",
                "opac":100,
                "ser":[
                  4,
                  39,
                  8,
                  41,
                  11,
                  13
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":17,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":16,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+5), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +5"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Servers Up",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(serversUp, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"serversUp"
                  }
                ],
                "name":"Servers Up",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":14
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":18,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":19,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+6), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +6"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Server Down",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(serversDown, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"serversDown"
                  }
                ],
                "name":"Server Down",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":14
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":20,
                "name":"Legend",
                "opac":100,
                "ser":[
                  16,
                  19
                ],
                "type":"Legend"
              }
            ],
            "plotId":15,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":24,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":23,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Total Bytes To Clients",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(totBytesToClients, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"totBytesToClients"
                  }
                ],
                "name":"Total Bytes To Clients",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":21
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"main",
                "id":26,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":25,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num +1), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +1"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Total Bytes To Servers",
                    "tooltip":"\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(totBytesToServers, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"totBytesToServers"
                  }
                ],
                "name":"Total Bytes To Servers",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":21
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":27,
                "name":"Legend",
                "opac":100,
                "ser":[
                  23,
                  25
                ],
                "type":"Legend"
              }
            ],
            "plotId":22,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_3":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerServer",
                "dmadn":"main",
                "id":31,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":30,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "name":"address",
                    "seriesName":"Layer",
                    "tooltip":"address+\"<BR>\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Y: \"+formatNumber(activeSessions, \"#.000\", \"\")",
                    "xPos":"now",
                    "yPos":"activeSessions"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":28
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":32,
                "name":"Legend",
                "opac":100,
                "ser":[
                  30
                ],
                "type":"Legend"
              }
            ],
            "plotId":29,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_4":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerClient",
                "dmadn":"main",
                "id":36,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":35,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"square\"",
                    "mWidth":"3",
                    "seriesName":"Layer",
                    "xPos":"now"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":33
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":37,
                "name":"Legend",
                "opac":100,
                "ser":[
                  35
                ],
                "type":"Legend"
              }
            ],
            "plotId":34,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":5,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main8"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"T",
            "id":"col_0",
            "location":0,
            "tl":"T",
            "tp":"text",
            "width":142
          },
          {
            "fm":"now",
            "id":"col_1",
            "location":1,
            "tl":"Now",
            "tp":"numeric",
            "width":150
          },
          {
            "fm":"name",
            "id":"col_2",
            "location":2,
            "tl":"Name",
            "tp":"text",
            "width":94
          },
          {
            "fm":"count",
            "id":"col_3",
            "location":3,
            "tl":"Count",
            "tp":"numeric",
            "width":75
          },
          {
            "fm":"millis",
            "id":"col_4",
            "location":4,
            "tl":"Millis",
            "tp":"numeric",
            "width":89
          },
          {
            "fm":"errors",
            "id":"col_5",
            "location":5,
            "tl":"Errors",
            "tp":"numeric",
            "width":64
          },
          {
            "fm":"Diff",
            "id":"col_6",
            "location":6,
            "tl":"Diff",
            "tp":"numeric",
            "width":75
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"prevMillis",
            "id":"col_7",
            "tl":"prev Millis",
            "tp":"numeric",
            "width":89
          }
        ],
        "amiPanelId":"procBlender1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterStoredProcsProcessed",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"procBlender",
            "dmtbid":[
              "AmiCenterStoredProcsProcessed"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiCenterStoredProcsProcessed"
        },
        "upid":"procBlender1",
        "varTypes":{
          "Diff":"Integer",
          "T":"String",
          "count":"Long",
          "errors":"Long",
          "millis":"Long",
          "name":"String",
          "now":"Long",
          "prevMillis":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"name",
            "id":"name",
            "location":0,
            "tl":"Name",
            "tp":"text",
            "width":94
          },
          {
            "fm":"Avg_Diff",
            "id":"avgDiff",
            "location":1,
            "tl":"Avg Diff",
            "tp":"numeric",
            "width":75
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"procBlender4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterStoredProcsProcessedName",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"procBlender2",
            "dmtbid":[
              "AmiCenterStoredProcsProcessedName"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiCenterStoredProcsProcessedName"
        },
        "upid":"procBlender4",
        "varTypes":{
          "Avg_Diff":"Double",
          "name":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"T",
            "id":"col_0",
            "location":0,
            "tl":"T",
            "tp":"text",
            "width":110
          },
          {
            "fm":"now",
            "id":"col_1",
            "location":1,
            "tl":"Now",
            "tp":"numeric",
            "width":150
          },
          {
            "fm":"name",
            "id":"col_2",
            "location":2,
            "tl":"Name",
            "tp":"text",
            "width":44
          },
          {
            "fm":"count",
            "id":"col_3",
            "location":3,
            "tl":"Count",
            "tp":"numeric",
            "width":75
          },
          {
            "fm":"millis",
            "id":"col_4",
            "location":4,
            "tl":"Millis",
            "tp":"numeric",
            "width":89
          },
          {
            "fm":"errors",
            "id":"col_5",
            "location":5,
            "tl":"Errors",
            "tp":"numeric",
            "width":64
          },
          {
            "fm":"Diff",
            "id":"col_6",
            "location":6,
            "tl":"Diff",
            "tp":"numeric",
            "width":75
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"prevMillis",
            "id":"col_7",
            "tl":"prev Millis",
            "tp":"numeric",
            "width":89
          }
        ],
        "amiPanelId":"timerBlender1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTimersProcessed",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"timerBlender",
            "dmtbid":[
              "AmiCenterTimersProcessed"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_2",
            "order":"asc"
          }
        ],
        "titlePnl":{
          "title":"AmiCenterTimersProcessed"
        },
        "upid":"timerBlender1",
        "varTypes":{
          "Diff":"Integer",
          "T":"String",
          "count":"Long",
          "errors":"Long",
          "millis":"Long",
          "name":"String",
          "now":"Long",
          "prevMillis":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"name",
            "id":"name",
            "location":0,
            "tl":"Name",
            "tp":"text",
            "width":44
          },
          {
            "fm":"Avg_Diff",
            "id":"avgDiff",
            "location":1,
            "tl":"Avg Diff",
            "tp":"numeric",
            "width":75
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"timerBlender3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTimersProcessedName",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"timerBlender2",
            "dmtbid":[
              "AmiCenterTimersProcessedName"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"AmiCenterTimersProcessedName"
        },
        "upid":"timerBlender3",
        "varTypes":{
          "Avg_Diff":"Double",
          "name":"String"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"triggerBlender",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggersProcessed",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Average Trigger Run Time"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"triggerBlender",
            "dmtbid":[
              "AmiCenterTriggersProcessed"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":119,
                "w":0.1362335432169433
              },
              {
                "p":-1,
                "w":1.8637664567830565
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":119,
                "w":0.1362335432169433
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8637664567830565
              }
            ],
            "p":70,
            "w":1.0
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggersProcessed",
                "dmadn":"triggerBlender",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Avg RunTime: \"+formatNumber(((double)millis)/((double)count), \"0.000\", \"\")",
                    "xPos":"now",
                    "yPos":"((double)millis)/((double)count)"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"AmiCenterTriggersProcessed"
        },
        "upid":"triggerBlender"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"T",
            "id":"col_0",
            "location":0,
            "tl":"T",
            "tp":"text",
            "width":118
          },
          {
            "fm":"now",
            "id":"col_1",
            "location":1,
            "tl":"Now",
            "tp":"numeric",
            "width":143
          },
          {
            "fm":"name",
            "id":"col_2",
            "location":2,
            "tl":"Name",
            "tp":"text",
            "width":182
          },
          {
            "fm":"count",
            "id":"col_3",
            "location":3,
            "tl":"Count",
            "tp":"numeric",
            "width":114
          },
          {
            "fm":"millis",
            "id":"col_4",
            "location":4,
            "tl":"Millis",
            "tp":"numeric",
            "width":107
          },
          {
            "fm":"errors",
            "id":"col_5",
            "location":5,
            "tl":"Errors",
            "tp":"numeric",
            "width":49
          },
          {
            "fm":"Diff",
            "id":"col_6",
            "location":6,
            "tl":"Diff",
            "tp":"numeric",
            "width":82
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"prevMillis",
            "id":"col_7",
            "tl":"prev Millis",
            "tp":"numeric",
            "width":107
          }
        ],
        "amiPanelId":"triggerBlender1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggersProcessed",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"triggerBlender",
            "dmtbid":[
              "AmiCenterTriggersProcessed"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_3",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"AmiCenterTriggersProcessed"
        },
        "upid":"triggerBlender1",
        "varTypes":{
          "Diff":"Integer",
          "T":"String",
          "count":"Long",
          "errors":"Long",
          "millis":"Long",
          "name":"String",
          "now":"Long",
          "prevMillis":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"name",
            "id":"name",
            "location":0,
            "tl":"Name",
            "tp":"text",
            "width":163
          },
          {
            "fm":"Avg_Diff",
            "id":"avgDiff",
            "location":1,
            "tl":"Avg Diff",
            "tp":"numeric",
            "width":82
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"triggerBlender2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggersProcessedName",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"triggerBlender2",
            "dmtbid":[
              "AmiCenterTriggersProcessedName"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":0,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"avgDiff",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"AmiCenterTriggersProcessedName"
        },
        "upid":"triggerBlender2",
        "varTypes":{
          "Avg_Diff":"Double",
          "name":"String"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"triggerBlender3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggersProcessed",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":"Now"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Average Trigger Run Time"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"triggerBlender",
            "dmtbid":[
              "AmiCenterTriggersProcessed"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":119,
                "w":0.1362335432169433
              },
              {
                "p":-1,
                "w":1.8637664567830565
              }
            ],
            "p":-1,
            "w":1.0
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":119,
                "w":0.1362335432169433
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8637664567830565
              }
            ],
            "p":70,
            "w":1.0
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1f1f1f",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggersProcessed",
                "dmadn":"triggerBlender",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num), -0.5D)"
                    },
                    "mBorderSize":"1",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"name+\"<BR>\"+\"X: \"+formatNumber(now, \"#.000\", \"\")+\"<BR>Avg RunTime: \"+formatNumber(((double)millis)/((double)count), \"0.000\", \"\")",
                    "xPos":"now",
                    "yPos":"((double)millis)/((double)count)"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"AmiCenterTriggersProcessed"
        },
        "upid":"triggerBlender3"
      }
    }
  ]
}