{
  "includeFiles":[
  ],
  "metadata":{
    "amiCustomCss":[
      ".public_slidecontainer {\n",
      "  width: 100%; /* Width of the outside container */\n",
      "}\n",
      "\n",
      "/* The slider itself */\n",
      ".public_slider {\n",
      "  -webkit-appearance: none;  /* Override default CSS styles */\n",
      "  appearance: none;\n",
      "  width: 100%; /* Full-width */\n",
      "  height: 25px; /* Specified height */\n",
      "  background: #d3d3d3; /* Grey background */\n",
      "  outline: none; /* Remove outline */\n",
      "  opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */\n",
      "  -webkit-transition: .2s; /* 0.2 seconds transition on hover */\n",
      "  transition: opacity .2s;\n",
      "}\n",
      "\n",
      "/* Mouse-over effects */\n",
      ".public_slider:hover {\n",
      "  opacity: 1; /* Fully shown on mouse-over */\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",
      "    String str = fuf.getFileTextData();\n",
      "    //List l = ss.splitLines();\n",
      "    //l.remove(0);\n",
      "    return new List(\"hi\");\n",
      "  };\n",
      "  \n",
      "  \n",
      "  List stringsToMaps(List strs, String delim, String equals){\n",
      "    List ret = new List();\n",
      "    for(String s: strs){\n",
      "      ret.add(strSplitToMap(s.trim().replaceAll(\"\\\"\",\"\").substring(2), delim, equals));\n",
      "    }\n",
      "    return ret;\n",
      "  };\n",
      "  \n",
      "  String formatDuration(long numMillis){\n",
      "    int sec = numMillis/1000 % 60;\n",
      "    int min = numMillis/60000 % 60;\n",
      "    int hrs = numMillis / 3600000;\n",
      "    return hrs + \"h\" + min + \"m\" + sec +\"s\";\n",
      "  };\n",
      "  \n",
      "  String hoverDisplay(String title, Long time, String yName, String yVal){\n",
      "    String toRet = \"\";\n",
      "    toRet += \"<b>\" + title + \"</b> <BR>\";\n",
      "    toRet += \"Date: \" + formatDate(time,\"MM/dd/yyyy\",session.getTimeZone())+\"<BR>\";\n",
      "    toRet += \"Time: \" + formatDate(time,\"HH:mm:ss.SSS z\",session.getTimeZone())+\"<BR>\";\n",
      "    toRet += yName + \": \" + yVal;\n",
      "    return toRet;\n",
      "  };\n",
      "  \n",
      "  String getLineColor(int series){\n",
      "     return brighten(cycle(series,\"6cbcde\",\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ),-0.5D);\n",
      "  };\n",
      "  \n",
      "  String getMarkerColor(int series){\n",
      "     return cycle(series,\"6cbcde\",\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\");\n",
      "  };\n",
      "\n",
      "  Boolean isOverlap(Long sOrig, Long eOrig, Long sComp, Long eComp){\n",
      "    return sOrig <= eComp && eOrig >= eComp || \n",
      "           sOrig <= sComp && eOrig >= sComp || \n",
      "           sComp <= sOrig && eComp >= sOrig ||\n",
      "           sComp <= eOrig && eComp >= eOrig;\n",
      "  };\n",
      "  \n",
      "  List getOverlap(Long sOrig, Long eOrig, Long sComp, Long eComp){\n",
      "    if(!isOverlap(sOrig, eOrig, sComp, eComp)){return new List();}\n",
      "    \n",
      "    List overlap = new List(sOrig, eOrig, sComp, eComp);\n",
      "    \n",
      "    if (sOrig == sComp && eOrig == eComp){return overlap;}\n",
      "    \n",
      "    overlap = overlap.sort();\n",
      "    overlap.remove(3);\n",
      "    overlap.remove(0);\n",
      "    return overlap;\n",
      "  };\n",
      "  \n",
      "  Long rangeToTime(Double percent, Long s, Long e){\n",
      "    return (percent * (e-s)) + s;\n",
      "  };\n",
      "  \n",
      "  Double timeToRange(Long cur, Long s, Long e){\n",
      "    return (Double)(cur - s)/(e-s);\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",
                  "  Create Table viewNames(name String);\n",
                  "  \n",
                  "  for(Tab t : Tabs1.getChildren()){\n",
                  "    INSERT INTO viewNames VALUES (\"${t.getTitle()}\");\n",
                  "  }\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"PANEL:Tabs1",
                    "varName":"Tabs1"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"name",
                          "tp":"String"
                        }
                      ],
                      "nm":"viewNames",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"chartNames",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  \n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE AmiCenterEvents AS SELECT * FROM AmiCenterEvents WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"events",
          "queryMode":"startup,visible",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  \n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE AmiCenterEvents AS SELECT * FROM AmiCenterEvents WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"eventsComp",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  CREATE TABLE _ AS USE ds=\"AmiLogFile\" _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"
                ],
                "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",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  List tables = new List(\"Process\",\"tPartition\", \"Topic\",\"AmiCenterObjects\", \"AmiCenterTables\", \"AmiCenterEvents\", \"AmiWebHttpServer\",\"AmiWebBalancerServer\",\"AmiWebBalancerClient\",\"AmiWebBalancerStats\", \"AmiCenterTimers\",\"AmiCenterStoredProcs\",\"AmiCenterTriggers\");\n",
                  "\n",
                  "  for(String t : tables){\n",
                  "    Create table ${t} as Select * from ${t} WHERE ${WHERE};\n",
                  "  }\n",
                  "\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainSource"
                ],
                "isDynamicDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"PANEL:SystemControls1",
                    "varName":"SystemControls1"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?durDisp",
                    "varName":"durDisp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?endDisp",
                    "varName":"endDisp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?entriesDisp",
                    "varName":"entriesDisp"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_text",
                    "varName":"fileText"
                  },
                  {
                    "ari":"DATAMODEL:main",
                    "varName":"main"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_name",
                    "varName":"name"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp",
                    "varName":"nameDisp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?startDisp",
                    "varName":"startDisp"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"String"
                        }
                      ],
                      "nm":"Topic",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min",
                          "tp":"Double"
                        },
                        {
                          "nm":"Avg/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min/s",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"entries",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"ask"
                    }
                  ]
                },
                "testInputType":"cust",
                "testInputs":{
                  "WHERE":"\"true\"",
                  "rtevents":"",
                  "wheres":""
                },
                "timeout":100000
              }
            ]
          },
          "lbl":"main",
          "queryMode":"startup,visible",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  List tables = new List(\"Process\",\"tPartition\", \"Topic\",\"AmiCenterObjects\", \"AmiCenterTables\", \"AmiCenterEvents\", \"AmiWebHttpServer\",\"AmiWebBalancerServer\",\"AmiWebBalancerClient\",\"AmiWebBalancerStats\", \"AmiCenterTimers\",\"AmiCenterStoredProcs\",\"AmiCenterTriggers\");\n",
                  "\n",
                  "  for(String t : tables){\n",
                  "    Create table ${t} as Select * from ${t} WHERE ${WHERE};\n",
                  "  }\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompareSource"
                ],
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"PANEL:SystemControls1",
                    "varName":"SystemControls1"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?durDisp2",
                    "varName":"durDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?endDisp2",
                    "varName":"endDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?entriesDisp2",
                    "varName":"entriesDisp2"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_text",
                    "varName":"fileText"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_name",
                    "varName":"name"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp2",
                    "varName":"nameDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?startDisp2",
                    "varName":"startDisp2"
                  },
                  {
                    "ari":"FIELD:SystemControls1?uploadFF",
                    "varName":"uploadFF"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"String"
                        }
                      ],
                      "nm":"Topic",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min",
                          "tp":"Double"
                        },
                        {
                          "nm":"Avg/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min/s",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"entries",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"ask"
                    }
                  ]
                },
                "testInputType":"cust",
                "testInputs":{
                  "WHERE":"true",
                  "rtevents":"",
                  "wheres":"new Map(\"fromUpload\", true)"
                }
              }
            ]
          },
          "lbl":"mainCompare",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  Boolean fromUpload = wheres.get(\"fromUpload\");\n",
                  " \n",
                  "  List types = new List(\"Process\",\"Partition\", \"Topic\",\"AmiCenterObjects\", \"AmiCenterTables\", \"AmiCenterEvents\", \"AmiWebHttpServer\",\"AmiWebBalancerServer\",\"AmiWebBalancerClient\",\"AmiWebBalancerStats\", \"AmiCenterTimers\",\"AmiCenterStoredProcs\",\"AmiCenterTriggers\");\n",
                  "\n",
                  "  List columns = new List(\"Long now, Long freeMem, Long maxMem, Long totMem, Long popsGcMem, Long gcCount, int threadBlocked, int threadsNew, int threadsRunnable, int threadsTimedWaiting, int threadsWaiting\",\n",
                  "    \"Long now, Long added, Long processed, Long queued, Long totExecTime, Long execs, Boolean inThreadPool, String name, Long startTime\", \n",
                  "    \"Long now, String dir, String name, Long msgCount, String connections\",\n",
                  "    \"Long now, String type, long count\",\n",
                  "    \"Long now, String type, long count\",\n",
                  "    \"Long now, Long logouts, Long relayEvents, Long objExpires, Long snapshots, Long dsQueries, Long logins, Long events, Integer strPoolSize\",\n",
                  "    \"Long now, int activeSessions, Long httpServices, Long activeConnections, Long userRows, Long userHiddenRows, Long cachedRows, int centersConnected, long openedConnections\",\n",
                  "    \"Long now, String address, int activeSessions, String status\",\n",
                  "    \"Long now, String address, Long startTime, Long IdleSince, String target, Long connections, Long bytesToServer, Long bytesToClient\",\n",
                  "    \"Long now, int clientsActive, int clientsIdle, int serversUp, int serversDown, Long activeConnections, Long totBytesToServers, Long totBytesToClients, int stickyCount\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\");\n",
                  "    \n",
                  "  Map typeMap = new Map();\n",
                  "   \n",
                  "  for(int i = 0; i < types.size(); i++){\n",
                  "    typeMap.put(types.get(i), columns.get(i));\n",
                  "  }\n",
                  "  \n",
                  "  Table total;\n",
                  "  String filename;\n",
                  "  if (fromUpload){\n",
                  "    filename = name;\n",
                  "    List l = fileText.splitLines();\n",
                  "    l.remove(0);\n",
                  "    total = new Table(\"total\", new Map(\"data\", l));\n",
                  "  \n",
                  "  } else {\n",
                  "    filename = selectFileName;\n",
                  "    total = use ds=\"AmiLogFile\"_file=\"${filename}\" _skipLines=\"1\" EXECUTE SELECT line FROM file;\n",
                  "  }\n",
                  "  \n",
                  "  total.alterColumn(\"line\", \"data\", \"String\");\n",
                  "  List maps, fields;\n",
                  "  MapParser mp;\n",
                  "  for(String t : types){\n",
                  "    Create table `${t}` as select data from total Where data ~~ \"^O.T=\\\"${t}\";\n",
                  "    maps = select data from `${t}`;\n",
                  "    fields = (String)(typeMap.get(t)).trim().split(\", \");\n",
                  "    maps = stringsToMaps(maps, \"|\", \"=\");\n",
                  "    mp = new MapParser(maps);\n",
                  "    Create table `${t}` = mp.parseToTable(fields);\n",
                  "  }\n",
                  "  \n",
                  "  String first = Select first(data) from total;\n",
                  "  String last = Select last(data) from total;\n",
                  "  Long start = strSplitToMap(first,\"|\",\"=\").get(\"now\");\n",
                  "  Long fin = strSplitToMap(last,\"|\",\"=\").get(\"now\");\n",
                  "  Long numEntries = select count(*) from total;\n",
                  "  Create table summary(start long, `end` long, entries long);\n",
                  "  insert into summary values (start, fin, numEntries);\n",
                  "  \n",
                  "   create table tPartition as select * from `Partition`;\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 `Partition` 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",
                  "  Create TABLE tPartition as SELECT * FROM `Partition` AS tp,  tPartitionPrep as tpp where  tp.now == tpp.now && tp.name == tpp.name;\n",
                  "  ALTER TABLE tPartition DROP tpp_now, DROP tpp_name;\n",
                  "  DROP TABLE `Partition`;\n",
                  "  DROP TABLE tPartitionPrep;\n",
                  "\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, objExpires - offset(objExpires, -1) as dObjExpires from AmiCenterEvents;\n",
                  "  create table eventPrep as select now, dTime, 1000*dEvents/(double)dTime as devents, 1000*dRelayEvents/(double)dTime as drelayEvents, 1000*dObjExpires/(double)dTime as dobjExpires from eventPrep; \n",
                  "  CREATE TABLE AmiCenterEvents AS SELECT * FROM AmiCenterEvents AS ace, eventPrep as ep WHERE ace.now == ep.now;\n",
                  "  ALTER TABLE AmiCenterEvents DROP ep_now;\n",
                  "  DROP TABLE eventPrep;\n",
                  "  \n",
                  "  insert into AmiCenterObjects byname from select * from AmiCenterTables; \n",
                  "  delete from AmiCenterObjects where `type`=~\"^__*\";\n",
                  "  create table AmiCenterObjectsPrep as PREPARE now, now - offset(now,-1) as dTime, count - offset(count,-1) as dCount, `type` from AmiCenterObjects partition by type;\n",
                  "  create table AmiCenterObjectsPrep as select now, dTime, dCount, `type` from AmiCenterObjectsPrep;\n",
                  "  Create TABLE AmiCenterObjects as SELECT * FROM AmiCenterObjects AS aco,  AmiCenterObjectsPrep as acop where  aco.now == acop.now && aco.`type` == acop.`type`;\n",
                  "  ALTER TABLE AmiCenterObjects DROP acop_now, DROP acop_type;\n",
                  "  DROP TABLE AmiCenterObjectsPrep;\n",
                  "  \n",
                  "  for(String t : new List(\"Timers\", \"Triggers\", \"StoredProcs\")){\n",
                  "    create table AmiCenter${t} as prepare now, name, errors, millis, millis - offset(millis, -1) as runtime, count - offset(count, -1) as dCount from AmiCenter${t} order by now partition by name;\n",
                  "    delete from AmiCenter${t} WHERE runtime == null || dCount < 0;\n",
                  "    Alter table AmiCenter${t} ADD timeForAction = (Double)runtime/dCount;\n",
                  "  }\n",
                  "  \n",
                  "  Table t = new Table(\"t\",\"Type String, Avg Double, Max int, Min int\");\n",
                  "  Double avg;\n",
                  "  List threads = new List(\"threadsWaiting\",\"threadsRunnable\", \"threadsTimedWaiting\",\"threadBlocked\",\"threadsNew\");\n",
                  "  List names = new List(\"Waiting Threads\",\"Runnable Threads\",\"Timed Waiting Threads\",\"New Threads\",\"Blocked Threads\");\n",
                  "  for(int i = 0; i < names.size(); i++) {\n",
                  "    String threadType = threads.get(i);\n",
                  "    int max = SELECT max(${threadType}) from Process;\n",
                  "    int min = SELECT min(${threadType}) from Process;\n",
                  "    avg = SELECT avg(${threadType}) from Process;\n",
                  "    INSERT INTO t VALUES (\"${names.get(i)}\", ${avg}, ${max}, ${min});\n",
                  "  }\n",
                  "  CREATE TABLE threadStats AS SELECT * FROM t;\n",
                  "  \n",
                  "  t = new Table(\"t\",\"Type String, Avg Double, Max Double, Min Double, Avg/s Double, Max/s Double, Min/s Double\");\n",
                  "\n",
                  "  int numEvents = select count(*) from AmiCenterEvents;\n",
                  "  if(numEvents  > 0){\n",
                  "    List eventNames = new List(\"Events\", \"Relay Events\", \"Object Expires\");\n",
                  "    List dsNames = new List(\"events\", \"relayEvents\", \"objExpires\");\n",
                  "    Double max, min, maxD, minD, avgD;\n",
                  "    for(int i = 0; i < dsNames.size(); i++) {\n",
                  "      String eventType = dsNames.get(i);\n",
                  "      max = SELECT max(${eventType}) from AmiCenterEvents;\n",
                  "      min = SELECT min(${eventType}) from AmiCenterEvents;\n",
                  "      avg = SELECT avg(${eventType}) from AmiCenterEvents;\n",
                  "      maxD = SELECT max(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      minD = SELECT min(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      avgD = SELECT avg(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      INSERT INTO t VALUES (\"${eventNames.get(i)}\", ${avg}, ${max}, ${min},  ${avgD}, ${maxD}, ${minD});\n",
                  "    }\n",
                  "  }\n",
                  "  CREATE TABLE eventStats AS SELECT * FROM t;\n",
                  "  \n",
                  "  nameDisp2.setValue(filename);\n",
                  "  startDisp2.setValue(formatDateTimeWithMillis(start));\n",
                  "  endDisp2.setValue(formatDateTimeWithMillis(fin));\n",
                  "  entriesDisp2.setValue(numEntries);\n",
                  "  durDisp2.setValue(formatDuration(fin-start));\n",
                  "  startComp.setValue(formatDateTimeWithMillis(start));\n",
                  "  endComp.setValue(formatDateTimeWithMillis(fin));\n",
                  "  rangeComp.setValue(0.0, 1.0);\n",
                  "  \n",
                  "  if(nameDisp.getValue() != \"\"){\n",
                  "    String overlapText = \"\";\n",
                  "    Long sOrigVal = parseDate(sOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                  "    Long eOrigVal = parseDate(eOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                  "    List overlap = getOverlap(start, fin, sOrigVal, eOrigVal);\n",
                  "    if (overlap.size() == 4){\n",
                  "      overlapText = \"Files have the same time range\";\n",
                  "      syncOrig.setVisible(true);\n",
                  "      syncComp.setVisible(true);\n",
                  "    } else if (overlap.size()==2){\n",
                  "      overlapText = \"Overlap: \";\n",
                  "      overlapText += formatDateTimeWithSeconds((Long)(overlap.get(0)));\n",
                  "      overlapText += \" to \";\n",
                  "      overlapText += formatDateTimeWithSeconds((Long)(overlap.get(1)));\n",
                  "      syncOrig.setVisible(true);\n",
                  "      syncComp.setVisible(true);\n",
                  "    } else {\n",
                  "      overlapText = \"Files have no time overlap\";\n",
                  "      syncOrig.setVisible(false);\n",
                  "      syncComp.setVisible(false);\n",
                  "    }\n",
                  "    \n",
                  "     if(overlap.size() >= 2 && nameDisp.isVisible()){\n",
                  "      syncOrig.setVisible(true);\n",
                  "      syncComp.setVisible(true);\n",
                  "    }\n",
                  "    overlapDisplay.setValue(overlapText);    \n",
                  "  }\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"FIELD:DisplayHtml?durDisp2",
                    "varName":"durDisp2"
                  },
                  {
                    "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                    "varName":"eOrig"
                  },
                  {
                    "ari":"FIELD:SystemControls1?endComp",
                    "varName":"endComp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?endDisp2",
                    "varName":"endDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?entriesDisp2",
                    "varName":"entriesDisp2"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_text",
                    "varName":"fileText"
                  },
                  {
                    "ari":"DATAMODEL:mainCompare",
                    "varName":"mainCompare"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_name",
                    "varName":"name"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp",
                    "varName":"nameDisp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp2",
                    "varName":"nameDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?overlapDisplay",
                    "varName":"overlapDisplay"
                  },
                  {
                    "ari":"FIELD:SystemControls1?rangeComp",
                    "varName":"rangeComp"
                  },
                  {
                    "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                    "varName":"sOrig"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?selectFile?",
                    "varName":"selectFileName"
                  },
                  {
                    "ari":"FIELD:SystemControls1?startComp",
                    "varName":"startComp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?startDisp2",
                    "varName":"startDisp2"
                  },
                  {
                    "ari":"FIELD:SystemControls1?syncComp",
                    "varName":"syncComp"
                  },
                  {
                    "ari":"FIELD:SystemControls1?syncButton",
                    "varName":"syncOrig"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"String"
                        }
                      ],
                      "nm":"Topic",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min",
                          "tp":"Double"
                        },
                        {
                          "nm":"Avg/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min/s",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"entries",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"ask"
                    }
                  ]
                },
                "testInputType":"cust",
                "testInputs":{
                  "WHERE":"true",
                  "rtevents":"",
                  "wheres":"new Map(\"fromUpload\", true)"
                }
              }
            ]
          },
          "lbl":"mainCompareSource",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  Boolean fromUpload = wheres.get(\"fromUpload\");\n",
                  " \n",
                  "  List types = new List(\"Process\",\"Partition\", \"Topic\",\"AmiCenterObjects\", \"AmiCenterTables\", \"AmiCenterEvents\", \"AmiWebHttpServer\",\"AmiWebBalancerServer\",\"AmiWebBalancerClient\",\"AmiWebBalancerStats\", \"AmiCenterTimers\",\"AmiCenterStoredProcs\",\"AmiCenterTriggers\");\n",
                  "\n",
                  "  List columns = new List(\"Long now, Long freeMem, Long maxMem, Long totMem, Long popsGcMem, Long gcCount, int threadBlocked, int threadsNew, int threadsRunnable, int threadsTimedWaiting, int threadsWaiting\",\n",
                  "    \"Long now, Long added, Long processed, Long queued, Long totExecTime, Long execs, Boolean inThreadPool, String name, Long startTime\", \n",
                  "    \"Long now, String dir, String name, Long msgCount, String connections\",\n",
                  "    \"Long now, String type, long count\",\n",
                  "    \"Long now, String type, long count\",\n",
                  "    \"Long now, Long logouts, Long relayEvents, Long objExpires, Long snapshots, Long dsQueries, Long logins, Long events, Integer strPoolSize\",\n",
                  "    \"Long now, int activeSessions, Long httpServices, Long activeConnections, Long userRows, Long userHiddenRows, Long cachedRows, int centersConnected, long openedConnections\",\n",
                  "    \"Long now, String address, int activeSessions, String status\",\n",
                  "    \"Long now, String address, Long startTime, Long IdleSince, String target, Long connections, Long bytesToServer, Long bytesToClient\",\n",
                  "    \"Long now, int clientsActive, int clientsIdle, int serversUp, int serversDown, Long activeConnections, Long totBytesToServers, Long totBytesToClients, int stickyCount\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\",\n",
                  "    \"Long now, String name, Long count, Long millis, Long errors\");\n",
                  "    \n",
                  "  Map typeMap = new Map();\n",
                  "   \n",
                  "  for(int i = 0; i < types.size(); i++){\n",
                  "    typeMap.put(types.get(i), columns.get(i));\n",
                  "  }\n",
                  "  \n",
                  "  Table total;\n",
                  "  String filename;\n",
                  "  if (true){\n",
                  "    filename = name;\n",
                  "    List l = fileText.splitLines();\n",
                  "    l.remove(0);\n",
                  "    total = new Table(\"total\", new Map(\"data\", l));\n",
                  "  \n",
                  "  } else {\n",
                  "    filename = selectFileName;\n",
                  "    total = use ds=\"AmiLogFile\"_file=\"${filename}\" _skipLines=\"1\" EXECUTE SELECT line FROM file;\n",
                  "  }\n",
                  "  \n",
                  "  total.alterColumn(\"line\", \"data\", \"String\");\n",
                  "  List maps, fields;\n",
                  "  MapParser mp;\n",
                  "  for(String t : types){\n",
                  "    Create table `${t}` as select data from total Where data ~~ \"^O.T=\\\"${t}\";\n",
                  "    maps = select data from `${t}`;\n",
                  "    fields = (String)(typeMap.get(t)).trim().split(\", \");\n",
                  "    maps = stringsToMaps(maps, \"|\", \"=\");\n",
                  "    mp = new MapParser(maps);\n",
                  "    Create table `${t}` = mp.parseToTable(fields);\n",
                  "  }\n",
                  "  \n",
                  "  String first = Select first(data) from total;\n",
                  "  String last = Select last(data) from total;\n",
                  "  Long start = strSplitToMap(first,\"|\",\"=\").get(\"now\");\n",
                  "  Long fin = strSplitToMap(last,\"|\",\"=\").get(\"now\");\n",
                  "  Long numEntries = select count(*) from total;\n",
                  "  Create table summary(start long, `end` long, entries long);\n",
                  "  insert into summary values (start, fin, numEntries);\n",
                  "  \n",
                  "   create table tPartition as select * from `Partition`;\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 `Partition` 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",
                  "  Create TABLE tPartition as SELECT * FROM `Partition` AS tp,  tPartitionPrep as tpp where  tp.now == tpp.now && tp.name == tpp.name;\n",
                  "  ALTER TABLE tPartition DROP tpp_now, DROP tpp_name;\n",
                  "  DROP TABLE `Partition`;\n",
                  "  DROP TABLE tPartitionPrep;\n",
                  "\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, objExpires - offset(objExpires, -1) as dObjExpires from AmiCenterEvents;\n",
                  "  create table eventPrep as select now, dTime, 1000*dEvents/(double)dTime as devents, 1000*dRelayEvents/(double)dTime as drelayEvents, 1000*dObjExpires/(double)dTime as dobjExpires from eventPrep; \n",
                  "  CREATE TABLE AmiCenterEvents AS SELECT * FROM AmiCenterEvents AS ace, eventPrep as ep WHERE ace.now == ep.now;\n",
                  "  ALTER TABLE AmiCenterEvents DROP ep_now;\n",
                  "  DROP TABLE eventPrep;\n",
                  "  \n",
                  "  insert into AmiCenterObjects byname from select * from AmiCenterTables; \n",
                  "  delete from AmiCenterObjects where `type`=~\"^__*\";\n",
                  "  create table AmiCenterObjectsPrep as PREPARE now, now - offset(now,-1) as dTime, count - offset(count,-1) as dCount, `type` from AmiCenterObjects partition by type;\n",
                  "  create table AmiCenterObjectsPrep as select now, dTime, dCount, `type` from AmiCenterObjectsPrep;\n",
                  "  Create TABLE AmiCenterObjects as SELECT * FROM AmiCenterObjects AS aco,  AmiCenterObjectsPrep as acop where  aco.now == acop.now && aco.`type` == acop.`type`;\n",
                  "  ALTER TABLE AmiCenterObjects DROP acop_now, DROP acop_type;\n",
                  "  DROP TABLE AmiCenterObjectsPrep;\n",
                  "  \n",
                  "  for(String t : new List(\"Timers\", \"Triggers\", \"StoredProcs\")){\n",
                  "    create table AmiCenter${t} as prepare now, name, errors, millis, millis - offset(millis, -1) as runtime, count - offset(count, -1) as dCount from AmiCenter${t} order by now partition by name;\n",
                  "    delete from AmiCenter${t} WHERE runtime == null || dCount < 0;\n",
                  "    Alter table AmiCenter${t} ADD timeForAction = (Double)runtime/dCount;\n",
                  "  }\n",
                  "  \n",
                  "  Table t = new Table(\"t\",\"Type String, Avg Double, Max int, Min int\");\n",
                  "  Double avg;\n",
                  "  List threads = new List(\"threadsWaiting\",\"threadsRunnable\", \"threadsTimedWaiting\",\"threadBlocked\",\"threadsNew\");\n",
                  "  List names = new List(\"Waiting Threads\",\"Runnable Threads\",\"Timed Waiting Threads\",\"New Threads\",\"Blocked Threads\");\n",
                  "  for(int i = 0; i < names.size(); i++) {\n",
                  "    String threadType = threads.get(i);\n",
                  "    int max = SELECT max(${threadType}) from Process;\n",
                  "    int min = SELECT min(${threadType}) from Process;\n",
                  "    avg = SELECT avg(${threadType}) from Process;\n",
                  "    INSERT INTO t VALUES (\"${names.get(i)}\", ${avg}, ${max}, ${min});\n",
                  "  }\n",
                  "  CREATE TABLE threadStats AS SELECT * FROM t;\n",
                  "  \n",
                  "  t = new Table(\"t\",\"Type String, Avg Double, Max Double, Min Double, Avg/s Double, Max/s Double, Min/s Double\");\n",
                  "\n",
                  "  int numEvents = select count(*) from AmiCenterEvents;\n",
                  "  if(numEvents  > 0){\n",
                  "    List eventNames = new List(\"Events\", \"Relay Events\", \"Object Expires\");\n",
                  "    List dsNames = new List(\"events\", \"relayEvents\", \"objExpires\");\n",
                  "    Double max, min, maxD, minD, avgD;\n",
                  "    for(int i = 0; i < dsNames.size(); i++) {\n",
                  "      String eventType = dsNames.get(i);\n",
                  "      max = SELECT max(${eventType}) from AmiCenterEvents;\n",
                  "      min = SELECT min(${eventType}) from AmiCenterEvents;\n",
                  "      avg = SELECT avg(${eventType}) from AmiCenterEvents;\n",
                  "      maxD = SELECT max(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      minD = SELECT min(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      avgD = SELECT avg(${\"d\"+eventType}) from AmiCenterEvents;\n",
                  "      INSERT INTO t VALUES (\"${eventNames.get(i)}\", ${avg}, ${max}, ${min},  ${avgD}, ${maxD}, ${minD});\n",
                  "    }\n",
                  "  }\n",
                  "  CREATE TABLE eventStats AS SELECT * FROM t;\n",
                  "  \n",
                  "  nameDisp.setValue(filename);\n",
                  "  startDisp.setValue(formatDateTimeWithMillis(start));\n",
                  "  endDisp.setValue(formatDateTimeWithMillis(fin));\n",
                  "  entriesDisp.setValue(numEntries);\n",
                  "  durDisp.setValue(formatDuration(fin-start));\n",
                  "  startOrig.setValue(formatDateTimeWithMillis(start));\n",
                  "  endOrig.setValue(formatDateTimeWithMillis(fin));\n",
                  "  rangeOrig.setValue(0.0, 1.0);\n",
                  "  \n",
                  "  if(nameDisp2.getValue() != \"\"){\n",
                  "    String overlapText = \"\";\n",
                  "    Long sCompVal = parseDate(sComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                  "    Long eCompVal = parseDate(eComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                  "    List overlap = getOverlap(start, fin, sCompVal, eCompVal);\n",
                  "    if (overlap.size() == 4){\n",
                  "      overlapText = \"Files have the same time range\";\n",
                  "    } else if (overlap.size()==2){\n",
                  "      overlapText = \"Overlap: \";\n",
                  "      overlapText += formatDateTimeWithSeconds((Long)(overlap.get(0)));\n",
                  "      overlapText += \" to \";\n",
                  "      overlapText += formatDateTimeWithSeconds((Long)(overlap.get(1)));\n",
                  "    } else {\n",
                  "      overlapText = \"Files have no time overlap\";\n",
                  "      syncOrig.setVisible(false);\n",
                  "      syncComp.setVisible(false);\n",
                  "    }\n",
                  "    \n",
                  "    if(overlap.size() >= 2 && nameDisp2.isVisible()){\n",
                  "      syncOrig.setVisible(true);\n",
                  "      syncComp.setVisible(true);\n",
                  "    }\n",
                  "    \n",
                  "    overlapDisplay.setValue(overlapText);\n",
                  "    \n",
                  "  }\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "limit":-1,
                "linkedVariables":[
                  {
                    "ari":"FIELD:DisplayHtml?durDisp",
                    "varName":"durDisp"
                  },
                  {
                    "ari":"FIELDVALUE:DisplayHtml?endDisp2?",
                    "varName":"eComp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?endDisp",
                    "varName":"endDisp"
                  },
                  {
                    "ari":"FIELD:SystemControls1?endOrig",
                    "varName":"endOrig"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?entriesDisp",
                    "varName":"entriesDisp"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_text",
                    "varName":"fileText"
                  },
                  {
                    "ari":"DATAMODEL:main",
                    "varName":"main"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?uploadFF?_name",
                    "varName":"name"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp",
                    "varName":"nameDisp"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?nameDisp2",
                    "varName":"nameDisp2"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?overlapDisplay",
                    "varName":"overlapDisplay"
                  },
                  {
                    "ari":"FIELD:SystemControls1?rangeOrig",
                    "varName":"rangeOrig"
                  },
                  {
                    "ari":"FIELDVALUE:DisplayHtml?startDisp2?",
                    "varName":"sComp"
                  },
                  {
                    "ari":"FIELDVALUE:SystemControls1?selectFile?",
                    "varName":"selectFileName"
                  },
                  {
                    "ari":"FIELD:DisplayHtml?startDisp",
                    "varName":"startDisp"
                  },
                  {
                    "ari":"FIELD:SystemControls1?startOrig",
                    "varName":"startOrig"
                  },
                  {
                    "ari":"FIELD:SystemControls1?syncComp",
                    "varName":"syncComp"
                  },
                  {
                    "ari":"FIELD:SystemControls1?syncButton",
                    "varName":"syncOrig"
                  }
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"logouts",
                          "tp":"Long"
                        },
                        {
                          "nm":"relayEvents",
                          "tp":"Long"
                        },
                        {
                          "nm":"objExpires",
                          "tp":"Long"
                        },
                        {
                          "nm":"snapshots",
                          "tp":"Long"
                        },
                        {
                          "nm":"dsQueries",
                          "tp":"Long"
                        },
                        {
                          "nm":"logins",
                          "tp":"Long"
                        },
                        {
                          "nm":"events",
                          "tp":"Long"
                        },
                        {
                          "nm":"strPoolSize",
                          "tp":"Integer"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"devents",
                          "tp":"Double"
                        },
                        {
                          "nm":"drelayEvents",
                          "tp":"Double"
                        },
                        {
                          "nm":"dobjExpires",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterEvents",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterTables",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"address",
                          "tp":"String"
                        },
                        {
                          "nm":"activeSessions",
                          "tp":"Integer"
                        },
                        {
                          "nm":"status",
                          "tp":"String"
                        }
                      ],
                      "nm":"AmiWebBalancerServer",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "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":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"dir",
                          "tp":"String"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"msgCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"connections",
                          "tp":"String"
                        }
                      ],
                      "nm":"Topic",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min",
                          "tp":"Double"
                        },
                        {
                          "nm":"Avg/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max/s",
                          "tp":"Double"
                        },
                        {
                          "nm":"Min/s",
                          "tp":"Double"
                        }
                      ],
                      "nm":"eventStats",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"start",
                          "tp":"Long"
                        },
                        {
                          "nm":"end",
                          "tp":"Long"
                        },
                        {
                          "nm":"entries",
                          "tp":"Long"
                        }
                      ],
                      "nm":"summary",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"apply"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"mainSource",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE tPartition AS SELECT * FROM tPartition WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"messages",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE tPartition AS SELECT * FROM tPartition WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"added",
                          "tp":"Long"
                        },
                        {
                          "nm":"processed",
                          "tp":"Long"
                        },
                        {
                          "nm":"queued",
                          "tp":"Long"
                        },
                        {
                          "nm":"totExecTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"execs",
                          "tp":"Long"
                        },
                        {
                          "nm":"inThreadPool",
                          "tp":"Boolean"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"startTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dProcessed",
                          "tp":"Double"
                        },
                        {
                          "nm":"dAdded",
                          "tp":"Double"
                        },
                        {
                          "nm":"dQueued",
                          "tp":"Double"
                        }
                      ],
                      "nm":"tPartition",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"messagesComp",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "  \n",
                  "  CREATE TABLE AmiCenterObjects AS SELECT * FROM AmiCenterObjects WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"rCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"objects",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "  \n",
                  "  CREATE TABLE AmiCenterObjects AS SELECT * FROM AmiCenterObjects WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"type",
                          "tp":"String"
                        },
                        {
                          "nm":"count",
                          "tp":"Long"
                        },
                        {
                          "nm":"dTime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        }
                      ],
                      "nm":"AmiCenterObjects",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"objectsComp",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"procedures",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE AmiCenterStoredProcs AS SELECT * FROM AmiCenterStoredProcs WHERE ${WHERE};\n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterStoredProcs",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"proceduresComp",
          "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",
                  "  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",
                "timeout":1000
              }
            ]
          },
          "datasources":[
            "AmiLogFile"
          ],
          "lbl":"refresh",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE Process AS SELECT * FROM Process WHERE ${WHERE};\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"threads",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "{\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "  CREATE TABLE Process AS SELECT * FROM Process WHERE ${WHERE};\n",
                  "  \n",
                  "}\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"freeMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"maxMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"totMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"popsGcMem",
                          "tp":"Long"
                        },
                        {
                          "nm":"gcCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"threadBlocked",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsNew",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsRunnable",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsTimedWaiting",
                          "tp":"Integer"
                        },
                        {
                          "nm":"threadsWaiting",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"Process",
                      "oc":"ask"
                    },
                    {
                      "cols":[
                        {
                          "nm":"Type",
                          "tp":"String"
                        },
                        {
                          "nm":"Avg",
                          "tp":"Double"
                        },
                        {
                          "nm":"Max",
                          "tp":"Integer"
                        },
                        {
                          "nm":"Min",
                          "tp":"Integer"
                        }
                      ],
                      "nm":"threadStats",
                      "oc":"ask"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"threadsComp",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE};\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"timers",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTriggers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "CREATE TABLE AmiCenterTimers AS SELECT * FROM AmiCenterTimers WHERE ${WHERE};\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTimers",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"timersComp",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE};\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "main"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"triggers",
          "queryMode":"startup",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        },
        {
          "callbacks":{
            "entries":[
              {
                "amiscript":[
                  "  DROP TABLE Process;\n",
                  "  DROP TABLE Topic;\n",
                  "  DROP TABLE AmiWebBalancerClient;\n",
                  "  DROP TABLE AmiWebBalancerServer;\n",
                  "  DROP TABLE AmiWebBalancerStats;\n",
                  "  DROP TABLE AmiWebHttpServer;\n",
                  "  DROP TABLE AmiCenterTables;\n",
                  "  DROP TABLE tPartition;\n",
                  "  DROP TABLE AmiCenterObjects;\n",
                  "  DROP TABLE AmiCenterTimers;\n",
                  "  DROP TABLE AmiCenterStoredProcs;\n",
                  "  DROP TABLE AmiCenterEvents;\n",
                  "  DROP TABLE eventStats;\n",
                  "  DROP TABLE threadStats;\n",
                  "  DROP TABLE summary;\n",
                  "\n",
                  "CREATE TABLE AmiCenterTriggers AS SELECT * FROM AmiCenterTriggers WHERE ${WHERE};\n"
                ],
                "hasDatamodel":true,
                "inputDm":[
                  "mainCompare"
                ],
                "limit":-1,
                "linkedVariables":[
                ],
                "name":"onProcess",
                "schema":{
                  "tbl":[
                    {
                      "cols":[
                        {
                          "nm":"now",
                          "tp":"Long"
                        },
                        {
                          "nm":"name",
                          "tp":"String"
                        },
                        {
                          "nm":"errors",
                          "tp":"Long"
                        },
                        {
                          "nm":"millis",
                          "tp":"Long"
                        },
                        {
                          "nm":"runtime",
                          "tp":"Long"
                        },
                        {
                          "nm":"dCount",
                          "tp":"Long"
                        },
                        {
                          "nm":"timeForAction",
                          "tp":"Double"
                        }
                      ],
                      "nm":"AmiCenterTriggers",
                      "oc":"apply"
                    }
                  ]
                }
              }
            ]
          },
          "lbl":"triggersComp",
          "test_input_type":"OPEN",
          "test_input_vars":"String WHERE=\"true\";"
        }
      ],
      "lnk":[
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":145,
          "relid":"Show_AmiCenterTimersProcessed",
          "sdmadn":"main",
          "sdmtb":"AmiCenterTimers",
          "spadn":"main30",
          "tdmadn":"timers",
          "title":"Show AmiCenterTimersProcessed",
          "tpadn":"timerBlender5"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":145,
          "relid":"Show_AmiCenterTimersProcessed1",
          "sdmadn":"mainCompare",
          "sdmtb":"AmiCenterTimers",
          "spadn":"main35",
          "tdmadn":"timersComp",
          "title":"Show AmiCenterTimersProcessed",
          "tpadn":"timerBlender6"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name ==\"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Procedures_Timelines",
          "sdmadn":"main",
          "sdmtb":"AmiCenterStoredProcs",
          "spadn":"main33",
          "tdmadn":"procedures",
          "title":"Show Procedures Timelines",
          "tpadn":"procBlender"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Procedures_Timelines1",
          "sdmadn":"main",
          "sdmtb":"AmiCenterTriggers",
          "spadn":"main34",
          "tdmadn":"triggers",
          "title":"Show Procedures Timelines",
          "tpadn":"procBlender1"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name ==\"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Procedures_Timelines2",
          "sdmadn":"mainCompare",
          "sdmtb":"AmiCenterStoredProcs",
          "spadn":"main36",
          "tdmadn":"proceduresComp",
          "title":"Show Procedures Timelines",
          "tpadn":"procBlender2"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Procedures_Timelines3",
          "sdmadn":"mainCompare",
          "sdmtb":"AmiCenterTriggers",
          "spadn":"main37",
          "tdmadn":"triggersComp",
          "title":"Show Procedures Timelines",
          "tpadn":"procBlender3"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"type == \"${Source_type}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Table_Rows_Timeline",
          "sdmadn":"main",
          "sdmtb":"AmiCenterObjects",
          "spadn":"main",
          "tdmadn":"objects",
          "title":"Show Table Rows Timeline",
          "tpadn":"main4"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"type == \"${Source_type}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_Table_Rows_Timeline1",
          "sdmadn":"mainCompare",
          "sdmtb":"AmiCenterObjects",
          "spadn":"main3",
          "tdmadn":"objectsComp",
          "title":"Show Table Rows Timeline",
          "tpadn":"main10"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_tPartition",
          "sdmadn":"main",
          "sdmtb":"tPartition",
          "spadn":"main31",
          "tdmadn":"messages",
          "title":"Show tPartition",
          "tpadn":"messages"
        },
        {
          "awcs":[
            {
              "fl":"false",
              "fo":"",
              "j":") or (",
              "pf":"((",
              "sf":"))",
              "to":"",
              "tr":"true",
              "vn":"WHERE",
              "wh":"name == \"${Source_name}\""
            }
          ],
          "callbacks":{
          },
          "op":19,
          "relid":"Show_tPartition1",
          "sdmadn":"mainCompare",
          "sdmtb":"tPartition",
          "spadn":"main32",
          "tdmadn":"messages",
          "title":"Show tPartition",
          "tpadn":"messages1"
        }
      ]
    },
    "fileVersion":4,
    "menubarPosition":"top",
    "rt":{
    },
    "stm":{
      "styles":[
        {
          "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"
            }
          }
        },
        {
          "id":"LAYOUT_DEFAULT2",
          "lb":"Midnight",
          "pt":"DARK",
          "vl":{
            "chart":{
              "divCl":"#eeeeee",
              "divThckH":2.0,
              "divThckV":1.0,
              "pdBdrCl":"#353747",
              "titlePnlFontSz":0.0
            },
            "chartAxis":{
              "axEndPd":7.0,
              "axLineCl":"#ffffff",
              "axMajUnitSz":3.0,
              "axMinorUnitSz":0.0,
              "axNumFontCl":"#eeeeee",
              "axNumFontFam":"Roboto",
              "axNumFontSz":13.0,
              "axNumPd":1.0,
              "axStartPd":6.0,
              "axTitleCl":"#ffffff",
              "axTitleFontFam":"Roboto",
              "axTitlePd":38.0,
              "axTitleSz":14.0
            },
            "div":{
              "divCl":"#353747"
            },
            "field":{
              "fldBgCl":"#353747",
              "fldBorderRad":2.0,
              "fldFocusBorderCl":"#6cbcde",
              "fldFontCl":"#eeeeee",
              "fldFontFam":"Roboto",
              "fontCl":"#eeeeee",
              "fontFam":"Roboto",
              "lblPd":2.0
            },
            "form":{
              "bgCl":"#01031c",
              "pdBdrCl":"#01031c"
            },
            "formMultiCheckboxField":{
              "fldFontCl":"#01031c"
            },
            "formRangeSliderField":{
              "fldGripCl":"#eeeeee",
              "fldTrackCl":"#353747"
            },
            "formSliderField":{
              "fldGripCl":"#eeeeee",
              "fldTrackCl":"#353747"
            },
            "global":{
              "bgCl":"#01031c",
              "deskBgCl":"#01031c",
              "dialogTitleFontFam":"Roboto",
              "fontCl":"#ffffff",
              "titleBarBdrCl":"#01031c",
              "winBgCl":"#1d1f31",
              "winFontCl":"#eeeeee",
              "winFontFam":"Roboto"
            },
            "graphLayer":{
              "grLyrBdrCl":"#01031c",
              "grLyrHMajGrdCl":"#353747"
            },
            "legend":{
              "lgdBdrCl":"#353747",
              "lgdBgCl":"#1d1f31",
              "lgdCbBdrCl":"#1d1f31",
              "lgdCbCk":"#1d1f31",
              "lgdCbCl":"#eeeeee",
              "lgdFontFam":"Roboto",
              "lgdHzPd":23.0,
              "lgdKeyPos":"top_left",
              "lgdLblSz":11.0,
              "lgdNmCl":"#ffffff",
              "lgdNmPos":"top_left",
              "lgdNmSz":0.0,
              "lgdVtPd":17.0
            },
            "panel":{
              "bgCl":"#1d1f31",
              "cellBdrCl":"#4f505a",
              "filtFontCl":"#eeeeee",
              "fldBgCl":"#353747",
              "fldFontCl":"#eeeeee",
              "fontCl":"#eeeeee",
              "graybarCl":"#353747",
              "headerBgCl":"#01031c",
              "pdBdrCl":"#1d1f31",
              "scrollBarHideArrows":true,
              "scrollBarRadius":"Rounded",
              "scrollBdrCl":"#01031c",
              "scrollBtnCl":"#353747",
              "scrollGripCl":"#353747",
              "scrollIconsCl":"#eeeeee",
              "scrollTrackCl":"#01031c",
              "scrollWd":12.0,
              "searchBgCl":"#01031c",
              "searchHide":true,
              "titlePnlFontCl":"#252738",
              "titlePnlFontFm":"Roboto",
              "titlePnlFontSz":16.0
            },
            "table":{
              "cellPadHt":3.0,
              "cellRtPx":1.0,
              "columnFilterBdrCl":"#353747",
              "columnFilterBgCl":"#eeeeee",
              "headerHt":20.0,
              "pdBdrCl":"#252738",
              "pdCl":"#252738",
              "pdShadowCl":"#1d1f31",
              "scrollBdrCl":"#01031c",
              "scrollBtnCl":"#353747",
              "scrollGripCl":"#353747",
              "scrollIconsCl":"#eeeeee",
              "scrollTrackCl":"#01031c",
              "searchBgCl":"#01031c",
              "searchBtnsCl":"#eeeeee",
              "searchFldBdrCl":"#01031c",
              "searchFldCl":"#eeeeee",
              "searchFldFontCl":"#01031c",
              "titlePnlFontCl":"#eeeeee"
            },
            "tabs":{
              "fontFam":"Roboto",
              "fontSz":14.0,
              "pdBdrCl":"#353747",
              "pdBdrSzPx":0.0,
              "pdBtmPx":10.0,
              "pdCl":"#1d1f31",
              "selCl":"#eeeeee",
              "selTxtCl":"#01031c",
              "tabBdrCl":"#eeeeee",
              "tabHt":20.0,
              "tabSelBdrCl":"#01031c",
              "titlePnlFontCl":"#ffffff",
              "unselCl":"#1d1f31",
              "unselTxtCl":"#eeeeee"
            },
            "treegrid":{
              "bgCl":"#1d1f31",
              "cellPadHt":3.0,
              "cellRtPx":1.0,
              "graybarCl":"#353747",
              "headerDivHide":true,
              "titlePnlFontCl":"#eeeeee"
            }
          }
        },
        {
          "id":"LAYOUT_DEFAULT",
          "lb":"Layout Default",
          "pt":"LAYOUT_DEFAULT2",
          "vl":{
            "chartAxis":{
              "axEndPd":10.0,
              "axLineCl":"#bfbfbf",
              "axStartPd":10.0
            },
            "graphLayer":{
              "grLyrHMajGrdCl":"#303030"
            },
            "legend":{
              "lgdCbCl":"#1d1f31",
              "lgdKeyPos":"top_left",
              "lgdMaxWd":164.0,
              "lgdNmPos":"top_left"
            },
            "table":{
              "columnFilterHide":true,
              "searchHide":false
            },
            "treegrid":{
              "searchHide":false
            }
          }
        }
      ]
    },
    "titleBarHtml":"Log Viewer",
    "transientIdPrefix":"TRANSIENT_"
  },
  "portletConfigs":[
    {
      "portletBuilderId":"amidesktop",
      "portletConfig":{
        "amiPanelId":"@DESKTOP",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "windows":[
          {
            "header":false,
            "heightDflt":896,
            "hidden":false,
            "leftDflt":0,
            "portlet":"Div7",
            "pos":0,
            "stateDflt":"max",
            "title":"AmiLogViewer",
            "topDflt":0,
            "widthDflt":1912,
            "zindexDflt":2
          }
        ]
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axEndPd":31.0,
              "axNumPd":4.0,
              "axNumRotate":-90.0,
              "axTitlePd":28.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":116,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Events per Second"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":41,
            "fontStyle":"",
            "format":"formatNumberCompact(n)",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Table Row Count"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":false,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":"formatNumber(n,\"#,###\",\"\")",
            "formatType":5,
            "isGroupOrdered":false,
            "minValue":0.0,
            "orientation":"R",
            "reverse":true,
            "title":"Messages Queued"
          },
          "L_3_0":{
            "amiStyle":{
              "axStartPd":0.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":"formatNumber(n/1024.0/1024/1024,\"#,### GB\",\"\")",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Memory"
          }
        },
        "axisLcnts":[
          1,
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "cods":false,
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "process",
              "Process",
              "tPartition",
              "AmiCenterEvents",
              "AmiCenterObjects"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.0987654320987654
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.2469135802469138
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.226337448559671
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.2510288065843622
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":43,
            "w":0.1769547325102881
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":122,
                "name":"Legend",
                "opac":100,
                "ser":[
                  118,
                  120
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":121,
                "layers":[
                  {
                    "desc":"drelayEvents== max(drelayEvents) && max(drelayEvents)!= mode(drelayEvents) ? \"Max: \" + formatNumberCompact(drelayEvents) : (now == min(now)? \"Min:\" + formatNumberCompact(drelayEvents) : (now == max(now) ? \"Avg: \" + formatNumberCompact(avg(drelayEvents)) : \"\"))",
                    "descColor":{
                      "type":"custom",
                      "value":"countUnique(drelayEvents) > 2 || stdev(drelayEvents)/Avg(drelayEvents) > 0.2 ? \"#ff303e\": \"\""
                    },
                    "editorType":"2dAdv",
                    "id":120,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\", now, \"Rate\",formatNumber(drelayEvents, \"#,###.00/s\", \"\"))",
                    "xPos":"now",
                    "yPos":"drelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"main",
                "id":119,
                "layers":[
                  {
                    "desc":"devents == max(devents) && max(devents)!= mode(devents) ? \"Max: \" + formatNumberCompact(devents) : (now == min(now)? \"Min:\" + formatNumberCompact(devents) : (now == max(now) ? \"Avg: \" + formatNumberCompact(avg(devents)) : \"\"))",
                    "descColor":{
                      "type":"custom",
                      "value":"countUnique(devents) > 2 || stdev(devents)/Avg(devents) > 0.2 ? \"#30b3ff\": \"\""
                    },
                    "editorType":"2dAdv",
                    "id":118,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Relay Events\", now, \"Rate\", formatNumber(devents, \"#,###.00/s\", \"\"))",
                    "xPos":"now",
                    "yPos":"devents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              }
            ],
            "plotId":117,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":200.0,
                  "lgdMaxWd":164.0,
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":45,
                "name":"Legend",
                "opac":100,
                "ser":[
                  128,
                  123,
                  43,
                  125
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"main",
                "id":44,
                "layers":[
                  {
                    "desc":"now == max(now) ? \"Max: \" + formatNumberCompact(count) : (now == min(now)? \"Min:\" + formatNumberCompact(count) :\"\")",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"top\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":43,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Count\", formatNumber(count, \"#,###.#\", \"\") + \" rows\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"main",
                "id":127,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Avg: \" + formatNumberCompact(avg(count)) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"bottomright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":128,
                    "line2Color":{
                      "type":"custom",
                      "value":"brighten(cycle(__series_num,\"6cbcde\",\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ), -0.2)"
                    },
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer3",
                    "tooltip":"hoverDisplay(type, now, \"Count\", formatNumber(count, \"#,###.#\", \"\") + \" rows\")",
                    "where":"type !~ \"__\"",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"round(avg(count))",
                    "yPos":"round(avg(count))"
                  }
                ],
                "name":"Layer3",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              }
            ],
            "plotId":42,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":107.0,
                  "lgdMaxWd":200.0,
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":40,
                "name":"Legend",
                "opac":100,
                "ser":[
                  130,
                  36,
                  125
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"main",
                "id":37,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Max: \" + formatNumberCompact(added-processed) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"right\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":36,
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now, \"Messages Queued\", \"\" + (added-processed))",
                    "xPos":"now",
                    "yPos":"added-processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"main",
                "id":129,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Avg: \" + formatNumberCompact(avg(added-processed)) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"right\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":130,
                    "line2Color":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer2",
                    "tooltip":"hoverDisplay(name,now, \"Messages Queued\", \"\" + (added-processed))",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"avg(added-processed)",
                    "yPos":"avg(added-processed)"
                  }
                ],
                "name":"Layer2",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_3":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136,
                  123
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":124,
                "layers":[
                  {
                    "desc":"\"Avg: \" + formatNumberCompact(avg(totMem-freeMem)/1024.0/1024/1024)+\" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now)  ? brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8): \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":123,
                    "line2Color":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "line2Dash":"10",
                    "line2Size":"2",
                    "lineColor":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "seriesName":"AvgUsedMemory",
                    "x2Pos":"now ",
                    "xPos":"now + (double)(max(now) - min(now))/20",
                    "y2Pos":"avg(totMem-freeMem)",
                    "yPos":"avg(totMem-freeMem)"
                  }
                ],
                "name":"AvgUsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "grLyrHMajGrdCl":"#ff0000",
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":86,
                "layers":[
                  {
                    "desc":"\"Max: \" + formatNumberCompact((totMem-freeMem)/1024.0/1024/1024) + \"/\" +  formatNumberCompact((totMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"totMem-freeMem == max(totMem-freeMem) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"topright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"AllocMemory",
                    "tooltip":"hoverDisplay(\"Allocated Memory\", now, \"Memory\", formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\"))",
                    "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":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == avg(now) ? \"#ff303e\" : \"\" "
                    },
                    "descPos":"\"topleft\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"Max Memory: \"+formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "xPos":"now",
                    "yPos":"maxMem"
                  }
                ],
                "name":"MaxMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":33,
                "layers":[
                  {
                    "descPos":"\"bottomright\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "fillBorderSize":"1",
                    "fillColor":{
                      "type":"custom",
                      "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",0.6*maxMem,\"#8c8c2e\",maxMem,\"#992020\")"
                    },
                    "id":32,
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"UsedMemory",
                    "tooltip":"hoverDisplay(\"Used Memory\", now, \"Memory\", formatNumber((totMem - freeMem)/1024.0/1024/1024,\"#,###\",\"\") + \"/\" + formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\") + \"<BR>Usage: \" + formatNumber((totMem*1.0 - freeMem)/totMem,\"###.### %\",\"\"))",
                    "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":4,
        "titlePnl":{
          "title":"memory"
        },
        "upid":"AmiCenter_amilog"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axEndPd":31.0,
              "axNumPd":4.0,
              "axNumRotate":-90.0,
              "axTitlePd":28.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":116,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Events per Second"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":41,
            "fontStyle":"",
            "format":"formatNumberCompact(n)",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Table Row Count"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":false,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":"formatNumber(n,\"#,###\",\"\")",
            "formatType":5,
            "isGroupOrdered":false,
            "minValue":0.0,
            "orientation":"R",
            "reverse":true,
            "title":"Messages Queued"
          },
          "L_3_0":{
            "amiStyle":{
              "axStartPd":0.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":"formatNumber(n/1024.0/1024/1024,\"#,### GB\",\"\")",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Memory"
          }
        },
        "axisLcnts":[
          1,
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "cods":false,
        "colsCount":1,
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "process",
              "Process",
              "tPartition",
              "AmiCenterEvents",
              "AmiCenterObjects"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.0987654320987654
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.2469135802469138
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.226337448559671
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":-1,
            "w":1.2510288065843622
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":84,
                "w":0.12416851441241686
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.875831485587583
              }
            ],
            "p":43,
            "w":0.1769547325102881
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":122,
                "name":"Legend",
                "opac":100,
                "ser":[
                  118,
                  120
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"mainCompare",
                "id":121,
                "layers":[
                  {
                    "desc":"drelayEvents== max(drelayEvents) && max(drelayEvents)!= mode(drelayEvents) ? \"Max: \" + formatNumberCompact(drelayEvents) : (now == min(now)? \"Min:\" + formatNumberCompact(drelayEvents) : (now == max(now) ? \"Avg: \" + formatNumberCompact(avg(drelayEvents)) : \"\"))",
                    "descColor":{
                      "type":"custom",
                      "value":"countUnique(drelayEvents) > 2 || stdev(drelayEvents)/Avg(drelayEvents) > 0.2 ? \"#ff303e\": \"\""
                    },
                    "editorType":"2dAdv",
                    "id":120,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\", now, \"Rate\",formatNumber(drelayEvents, \"#,###.00/s\", \"\"))",
                    "xPos":"now",
                    "yPos":"drelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"mainCompare",
                "id":119,
                "layers":[
                  {
                    "desc":"devents == max(devents) && max(devents)!= mode(devents) ? \"Max: \" + formatNumberCompact(devents) : (now == min(now)? \"Min:\" + formatNumberCompact(devents) : (now == max(now) ? \"Avg: \" + formatNumberCompact(avg(devents)) : \"\"))",
                    "descColor":{
                      "type":"custom",
                      "value":"countUnique(devents) > 2 || stdev(devents)/Avg(devents) > 0.2 ? \"#30b3ff\": \"\""
                    },
                    "editorType":"2dAdv",
                    "id":118,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Relay Events\", now, \"Rate\", formatNumber(devents, \"#,###.00/s\", \"\"))",
                    "xPos":"now",
                    "yPos":"devents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":116
              }
            ],
            "plotId":117,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":200.0,
                  "lgdMaxWd":164.0,
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":45,
                "name":"Legend",
                "opac":100,
                "ser":[
                  128,
                  123,
                  43,
                  125
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"mainCompare",
                "id":44,
                "layers":[
                  {
                    "desc":"now == max(now) ? \"Max: \" + formatNumberCompact(count) : (now == min(now)? \"Min:\" + formatNumberCompact(count) :\"\")",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"top\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":43,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Count\", formatNumber(count, \"#,###.#\", \"\") + \" rows\")",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"mainCompare",
                "id":127,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Avg: \" + formatNumberCompact(avg(count)) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"bottomright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":128,
                    "line2Color":{
                      "type":"custom",
                      "value":"brighten(cycle(__series_num,\"6cbcde\",\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ), -0.2)"
                    },
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer3",
                    "tooltip":"hoverDisplay(type, now, \"Count\", formatNumber(count, \"#,###.#\", \"\") + \" rows\")",
                    "where":"type !~ \"__\"",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"round(avg(count))",
                    "yPos":"round(avg(count))"
                  }
                ],
                "name":"Layer3",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":41
              }
            ],
            "plotId":42,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":107.0,
                  "lgdMaxWd":200.0,
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":40,
                "name":"Legend",
                "opac":100,
                "ser":[
                  130,
                  36,
                  125
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"mainCompare",
                "id":37,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Max: \" + formatNumberCompact(added-processed) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"right\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":36,
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now, \"Messages Queued\", \"\" + (added-processed))",
                    "xPos":"now",
                    "yPos":"added-processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"mainCompare",
                "id":129,
                "layers":[
                  {
                    "desc":"now==max(now) ? \"Avg: \" + formatNumberCompact(avg(added-processed)) : \"\"",
                    "descColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "descPos":"\"right\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":130,
                    "line2Color":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "line2Dash":"1",
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer2",
                    "tooltip":"hoverDisplay(name,now, \"Messages Queued\", \"\" + (added-processed))",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"avg(added-processed)",
                    "yPos":"avg(added-processed)"
                  }
                ],
                "name":"Layer2",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_3":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT2"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136,
                  123
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":124,
                "layers":[
                  {
                    "desc":"\"Avg: \" + formatNumberCompact(avg(totMem-freeMem)/1024.0/1024/1024)+\" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now)  ? brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8): \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":123,
                    "line2Color":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "line2Dash":"10",
                    "line2Size":"2",
                    "lineColor":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "seriesName":"AvgUsedMemory",
                    "x2Pos":"now ",
                    "xPos":"now + (double)(max(now) - min(now))/20",
                    "y2Pos":"avg(totMem-freeMem)",
                    "yPos":"avg(totMem-freeMem)"
                  }
                ],
                "name":"AvgUsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "grLyrHMajGrdCl":"#ff0000",
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":86,
                "layers":[
                  {
                    "desc":"\"Max: \" + formatNumberCompact((totMem-freeMem)/1024.0/1024/1024) + \"/\" +  formatNumberCompact((totMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"totMem-freeMem == max(totMem-freeMem) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"topright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"AllocMemory",
                    "tooltip":"hoverDisplay(\"Allocated Memory\", now, \"Memory\", formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\"))",
                    "xPos":"now",
                    "yPos":"totMem"
                  }
                ],
                "name":"AllocMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":88,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == avg(now) ? \"#ff303e\" : \"\" "
                    },
                    "descPos":"\"topleft\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"Max Memory: \"+formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "xPos":"now",
                    "yPos":"maxMem"
                  }
                ],
                "name":"MaxMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":33,
                "layers":[
                  {
                    "descPos":"\"bottomright\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "fillBorderSize":"1",
                    "fillColor":{
                      "type":"custom",
                      "value":"gradient((totMem - freeMem),min(totMem - freeMem),\"#215e21\",0.6*maxMem,\"#8c8c2e\",maxMem,\"#992020\")"
                    },
                    "id":32,
                    "line2Size":"1",
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"UsedMemory",
                    "tooltip":"hoverDisplay(\"Used Memory\", now, \"Memory\", formatNumber((totMem - freeMem)/1024.0/1024/1024,\"#,###\",\"\") + \"/\" + formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\") + \"<BR>Usage: \" + formatNumber((totMem*1.0 - freeMem)/totMem,\"###.### %\",\"\"))",
                    "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":4,
        "titlePnl":{
          "title":"memory"
        },
        "upid":"AmiCenter_amilog1"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.0,
              "axTitleSz":18.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":"formatNumberCompact(n)",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Msgs Queued"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "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":"Added Msgs/s"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "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":"messages",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.3037542662116042
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.3310580204778157
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.2150170648464165
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.76
              }
            ],
            "p":22,
            "w":0.15017064846416384
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "id":37,
                "layers":[
                  {
                    "descPos":"\"topright\"",
                    "descSz":"14",
                    "editorType":"2dAdv",
                    "id":36,
                    "line2Color":{
                      "type":"const",
                      "value":"\"#6cbcde\""
                    },
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Queue size\",formatNumber(queued, \"###,###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"queued"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":259,
                "name":"Legend",
                "opac":100,
                "ser":[
                  36
                ],
                "type":"Legend"
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "id":227,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":226,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Added Rate\", formatNumber(dAdded, \"###,###,###/s\", \"\"))",
                    "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "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":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "sel":"true",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name, now,\"Messages\", formatNumber(processed, \"###,###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":234
              }
            ],
            "plotId":235,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog3"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.0,
              "axTitleSz":18.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":"Time"
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":34,
            "fontStyle":"",
            "format":"formatNumberCompact(n)",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Msgs Queued"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "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":"Added Msgs/s"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "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":"messages",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.3037542662116042
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.3310580204778157
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "p":-1,
                "w":1.76
              }
            ],
            "p":-1,
            "w":1.2150170648464165
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":81,
                "w":0.24
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.76
              }
            ],
            "p":22,
            "w":0.15017064846416384
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "id":37,
                "layers":[
                  {
                    "descPos":"\"topright\"",
                    "descSz":"14",
                    "editorType":"2dAdv",
                    "id":36,
                    "line2Color":{
                      "type":"const",
                      "value":"\"#6cbcde\""
                    },
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Queue size\",formatNumber(queued, \"###,###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"queued"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":34
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":259,
                "name":"Legend",
                "opac":100,
                "ser":[
                  36
                ],
                "type":"Legend"
              }
            ],
            "plotId":35,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "id":227,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":226,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Added Rate\", formatNumber(dAdded, \"###,###,###/s\", \"\"))",
                    "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"tPartition",
                "dmadn":"messages",
                "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":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "sel":"true",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name, now,\"Messages\", formatNumber(processed, \"###,###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"processed"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":234
              }
            ],
            "plotId":235,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"AmiCenter_amilog4"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"AmiCenter_amilog6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"memory",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":""
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":"formatNumber(n/1024.0/1024/1024,\"#,### GB\",\"\")",
            "formatType":4,
            "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":68,
                "w":0.12557710064635272
              },
              {
                "p":-1,
                "w":1.8744228993536471
              }
            ],
            "p":-1,
            "w":1.934782608695652
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":68,
                "w":0.12557710064635272
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8744228993536471
              }
            ],
            "p":30,
            "w":0.06521739130434782
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":80.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136,
                  90
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":91,
                "layers":[
                  {
                    "desc":"\"Avg: \" + formatNumberCompact(avg(totMem-freeMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now)  ? brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8): \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":90,
                    "line2Color":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "line2Dash":"10",
                    "line2Size":"2",
                    "lineColor":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "seriesName":"AvgUsedMemory",
                    "x2Pos":"now",
                    "xPos":"now + (double)(max(now) - min(now))/20",
                    "y2Pos":"avg(totMem - freeMem)",
                    "yPos":"avg(totMem-freeMem)"
                  }
                ],
                "name":"AvgUsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":86,
                "layers":[
                  {
                    "desc":"\"Max: \" + formatNumberCompact((totMem-freeMem)/1024.0/1024/1024) + \"/\" +  formatNumberCompact((totMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"AllocMemory",
                    "tooltip":"hoverDisplay(\"Allocated Memory\", now, \"Memory\", formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\"))",
                    "xPos":"now",
                    "yPos":"totMem"
                  }
                ],
                "name":"AllocMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":33,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"bottomright\"",
                    "descSz":"13",
                    "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":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"UsedMemory",
                    "tooltip":"hoverDisplay(\"Used Memory\", now, \"Memory\", formatNumber((totMem - freeMem)/1024.0/1024/1024,\"#,###\",\"\") + \"/\" + formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\") + \"<BR>Usage: \" + formatNumber((totMem*1.0 - freeMem)/totMem,\"###.### %\",\"\"))",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"0",
                    "yPos":"totMem - freeMem"
                  }
                ],
                "name":"UsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"main",
                "id":88,
                "layers":[
                  {
                    "desc":"formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ? \"#ff303e\" : \"\" "
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"Max Memory: \"+formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "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":{
              "axNumRotate":-90.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":null,
            "formatType":3,
            "isGroupOrdered":false,
            "orientation":"T",
            "reverse":false,
            "title":""
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":30,
            "fontStyle":"",
            "format":"formatNumber(n/1024.0/1024/1024,\"#,### GB\",\"\")",
            "formatType":4,
            "isGroupOrdered":false,
            "orientation":"R",
            "reverse":true,
            "title":"Memory"
          }
        },
        "axisLcnts":[
          1
        ],
        "axisRcnts":[
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "Process"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":68,
                "w":0.12557710064635272
              },
              {
                "p":-1,
                "w":1.8744228993536471
              }
            ],
            "p":-1,
            "w":1.934782608695652
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":68,
                "w":0.12557710064635272
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8744228993536471
              }
            ],
            "p":30,
            "w":0.06521739130434782
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "lgdMaxHt":80.0,
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":89,
                "name":"Legend",
                "opac":100,
                "ser":[
                  32,
                  85,
                  87,
                  136,
                  90
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":91,
                "layers":[
                  {
                    "desc":"\"Avg: \" + formatNumberCompact(avg(totMem-freeMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now)  ? brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8): \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":90,
                    "line2Color":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "line2Dash":"10",
                    "line2Size":"2",
                    "lineColor":{
                      "type":"custom",
                      "value":" brighten(gradient(avg(totMem - freeMem),min(totMem - freeMem),\"#30ff6e\",maxMem/2,\"#cab800\",maxMem,\"#ff303e\") , 0.8)"
                    },
                    "lineDash":"10",
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "seriesName":"AvgUsedMemory",
                    "x2Pos":"now",
                    "xPos":"now+ (double)(max(now) - min(now))/20",
                    "y2Pos":"avg(totMem - freeMem)",
                    "yPos":"avg(totMem-freeMem)"
                  }
                ],
                "name":"AvgUsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":86,
                "layers":[
                  {
                    "desc":"\"Max: \" + formatNumberCompact((totMem-freeMem)/1024.0/1024/1024) + \"/\" +  formatNumberCompact((totMem)/1024.0/1024/1024) + \" GB\"",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":85,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "lineSize":"2",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"2",
                    "mShape":"\"circle\"",
                    "mWidth":"2",
                    "seriesName":"AllocMemory",
                    "tooltip":"hoverDisplay(\"Allocated Memory\", now, \"Memory\", formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\"))",
                    "xPos":"now",
                    "yPos":"totMem"
                  }
                ],
                "name":"AllocMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":33,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ?  \"#eeeeee\" : \"\""
                    },
                    "descPos":"\"bottomright\"",
                    "descSz":"13",
                    "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":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"UsedMemory",
                    "tooltip":"hoverDisplay(\"Used Memory\", now, \"Memory\", formatNumber((totMem - freeMem)/1024.0/1024/1024,\"#,###\",\"\") + \"/\" + formatNumber(totMem/1024.0/1024/1024,\"#,### GB\",\"\") + \"<BR>Usage: \" + formatNumber((totMem*1.0 - freeMem)/totMem,\"###.### %\",\"\"))",
                    "x2Pos":"now",
                    "xPos":"now",
                    "y2Pos":"0",
                    "yPos":"totMem - freeMem"
                  }
                ],
                "name":"UsedMemory",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":30
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"mainCompare",
                "id":88,
                "layers":[
                  {
                    "desc":"formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ? \"#ff303e\" : \"\" "
                    },
                    "descPos":"\"top\"",
                    "descSz":"13",
                    "editorType":"2dAdv",
                    "id":87,
                    "lineColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"MaxMemory",
                    "tooltip":"\"Max Memory: \"+formatNumber(maxMem/1024.0/1024/1024,\"#,### GB\",\"\")",
                    "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_amilog7"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"DisplayHtml",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "disabled":true,
            "dme":"\"Original\"",
            "hCenterOffsetPct":-0.23131672597864766,
            "heightPx":16,
            "l":"Original",
            "leftPosPct":0.26868327402135234,
            "leftPosPx":-45,
            "n":"button",
            "style":{
              "fldBgCl":"#01031c",
              "fldFontCl":"#6cbcde",
              "fldFontSz":16.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":55,
            "widthPx":90,
            "zidx":13
          },
          {
            "disabled":true,
            "dme":"\"Comparison\"",
            "hCenterOffsetPct":0.22,
            "heightPx":20,
            "hide":true,
            "l":"Comparison",
            "leftPosPct":0.72,
            "leftPosPx":-44,
            "n":"button1",
            "style":{
              "fldBgCl":"#01031c",
              "fldFontCl":"#6cbcde",
              "fldFontSz":16.0,
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":55,
            "widthPx":89,
            "zidx":11
          },
          {
            "disabled":true,
            "heightPx":20,
            "l":"File Info",
            "leftPosPct":0.06,
            "n":"div",
            "rightPosPct":0.05867970660146692,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":20.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":0,
            "zidx":12
          },
          {
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "l":"Duration",
            "leftPosPct":0.05555555555555555,
            "n":"durDisp",
            "rightPosPct":0.52,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":260,
            "zidx":8
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "hide":true,
            "l":"Duration",
            "leftPosPct":0.52,
            "n":"durDisp2",
            "rightPosPct":0.06,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":260,
            "zidx":6
          },
          {
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "l":"End Time",
            "leftPosPct":0.06,
            "n":"endDisp",
            "rightPosPct":0.52,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":207,
            "zidx":1
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":28,
            "hide":true,
            "l":"End Time",
            "leftPosPct":0.5185185185185185,
            "n":"endDisp2",
            "rightPosPct":0.05982905982905984,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":207,
            "zidx":5
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "l":"Num Entries",
            "leftPosPct":0.05982905982905983,
            "n":"entriesDisp",
            "rightPosPct":0.517094017094017,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":313,
            "zidx":3
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "hide":true,
            "l":"Num Entries",
            "leftPosPct":0.52,
            "n":"entriesDisp2",
            "rightPosPct":0.06,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":313,
            "zidx":7
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "l":"File Name",
            "leftPosPct":0.06,
            "n":"nameDisp",
            "rightPosPct":0.52,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":101,
            "zidx":9
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "hide":true,
            "l":"File Name",
            "leftPosPct":0.52,
            "n":"nameDisp2",
            "rightPosPct":0.06,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":101,
            "zidx":10
          },
          {
            "disabled":true,
            "heightPx":20,
            "hide":true,
            "l":"",
            "leftPosPct":0.0,
            "n":"overlapDisplay",
            "rightPosPct":0.0,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontCl":"#eeeeee",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":26,
            "zidx":14
          },
          {
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "l":"Start Time",
            "leftPosPct":0.06,
            "n":"startDisp",
            "rightPosPct":0.52,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":154,
            "zidx":2
          },
          {
            "disabled":true,
            "dmid":"main",
            "dmtbid":"summary",
            "dsrt":"asc",
            "dsvid":"start",
            "heightPx":25,
            "hide":true,
            "l":"Start Time",
            "leftPosPct":0.52,
            "n":"startDisp2",
            "rightPosPct":0.06,
            "soi":true,
            "style":{
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":154,
            "zidx":4
          }
        ],
        "upid":"DisplayHtml"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div1",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div12",
        "child2":"Div16",
        "dir":"v",
        "locked":false,
        "offset":1.0,
        "upid":"Div15"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div10",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main7",
        "child2":"main8",
        "dir":"h",
        "locked":false,
        "offset":0.69908,
        "upid":"Div9"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div11",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main9",
        "child2":"webDetails",
        "dir":"h",
        "locked":false,
        "offset":0.7686,
        "upid":"Div9"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div12",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main29",
        "child2":"main12",
        "dir":"h",
        "locked":false,
        "offset":0.77658,
        "upid":"Div16"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div13",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div39",
        "child2":"AmiCenter_amilog4",
        "dir":"h",
        "locked":false,
        "offset":0.17089,
        "upid":"Div10"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div14",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog7",
        "child2":"main2",
        "dir":"h",
        "locked":false,
        "offset":0.7546,
        "upid":"Div12"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div15",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div44",
        "child2":"threadsChart1",
        "dir":"h",
        "locked":false,
        "offset":0.11365,
        "upid":"Div14"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div16",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main38",
        "child2":"main13",
        "dir":"h",
        "locked":false,
        "offset":0.77658,
        "upid":"Div17"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div17",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div3",
        "child2":"Div28",
        "dir":"v",
        "locked":false,
        "offset":1.0,
        "upid":"Div30"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div18",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div11",
        "child2":"Div29",
        "dir":"v",
        "locked":false,
        "offset":1.0,
        "upid":"Div31"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div19",
        "amiStyle":{
          "divCl":"#353747",
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div20",
        "child2":"main20",
        "dir":"h",
        "locked":false,
        "offset":0.14145,
        "upid":"Div19"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div2",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div41",
        "child2":"Div46",
        "dir":"v",
        "locked":false,
        "offset":1.0,
        "upid":"Div18"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div20",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main30",
        "child2":"timerBlender5",
        "dir":"v",
        "locked":false,
        "offset":0.55627,
        "upid":"Div20"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div21",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div22",
        "child2":"main16",
        "dir":"h",
        "locked":false,
        "offset":0.14145,
        "upid":"Div21"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div22",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main33",
        "child2":"procBlender",
        "dir":"v",
        "locked":false,
        "offset":0.56733,
        "upid":"Div22"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div23",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div24",
        "child2":"main18",
        "dir":"h",
        "locked":false,
        "offset":0.14063,
        "upid":"Div23"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div24",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main34",
        "child2":"procBlender1",
        "dir":"v",
        "locked":false,
        "offset":0.58302,
        "upid":"Div24"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div25",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div21",
        "child2":"Div27",
        "dir":"v",
        "locked":false,
        "offset":0.99778,
        "upid":"Div25"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div26",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main36",
        "child2":"procBlender2",
        "dir":"v",
        "locked":false,
        "offset":0.56733,
        "upid":"Div27"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div27",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div26",
        "child2":"main17",
        "dir":"h",
        "locked":false,
        "offset":0.14145,
        "upid":"Div26"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div28",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div47",
        "child2":"main24",
        "dir":"h",
        "locked":false,
        "offset":0.15074,
        "upid":"Div28"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div29",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main11",
        "child2":"webDetails1",
        "dir":"h",
        "locked":false,
        "offset":0.7686,
        "upid":"Div29"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div43",
        "child2":"main21",
        "dir":"h",
        "locked":false,
        "offset":0.15074,
        "upid":"Div3"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div30",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main35",
        "child2":"timerBlender6",
        "dir":"v",
        "locked":false,
        "offset":0.55627,
        "upid":"Div33"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div31",
        "amiStyle":{
          "divCl":"#353747",
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div30",
        "child2":"main22",
        "dir":"h",
        "locked":false,
        "offset":0.14145,
        "upid":"Div32"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div32",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div19",
        "child2":"Div31",
        "dir":"v",
        "locked":false,
        "offset":1.0,
        "upid":"Div34"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div33",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main37",
        "child2":"procBlender3",
        "dir":"v",
        "locked":false,
        "offset":0.58302,
        "upid":"Div36"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div34",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div33",
        "child2":"main19",
        "dir":"h",
        "locked":false,
        "offset":0.14063,
        "upid":"Div35"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div35",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div23",
        "child2":"Div34",
        "dir":"v",
        "locked":false,
        "offset":0.99778,
        "upid":"Div37"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div38",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main31",
        "child2":"messages",
        "dir":"v",
        "locked":false,
        "offset":0.39567,
        "upid":"Div40"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div39",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main32",
        "child2":"messages1",
        "dir":"v",
        "locked":false,
        "offset":0.39567,
        "upid":"Div41"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div40",
        "child2":"threadsChart",
        "dir":"h",
        "locked":false,
        "offset":0.11365,
        "upid":"Div4"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div40",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"threads",
        "child2":"threadsTable",
        "dir":"v",
        "locked":false,
        "offset":0.33487,
        "upid":"Div42"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div41",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div42",
        "child2":"eventsChart",
        "dir":"h",
        "locked":false,
        "offset":0.15412,
        "upid":"Div43"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div42",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"eventsStats",
        "child2":"eventsTable",
        "dir":"v",
        "locked":false,
        "offset":0.38099,
        "upid":"Div44"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div43",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main",
        "child2":"main4",
        "dir":"v",
        "locked":false,
        "offset":0.5,
        "upid":"Div45"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div44",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"threadsComp",
        "child2":"threadsTable1",
        "dir":"v",
        "locked":false,
        "offset":0.33579,
        "upid":"Div46"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div45",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"eventsStats1",
        "child2":"eventsTable1",
        "dir":"v",
        "locked":false,
        "offset":0.38099,
        "upid":"Div48"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div46",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div45",
        "child2":"eventsChart1",
        "dir":"h",
        "locked":false,
        "offset":0.15412,
        "upid":"Div47"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div47",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"main3",
        "child2":"main10",
        "dir":"v",
        "locked":false,
        "offset":0.5,
        "upid":"Div49"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div38",
        "child2":"AmiCenter_amilog3",
        "dir":"h",
        "locked":false,
        "offset":0.17089,
        "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":"Div8",
        "child2":"Tabs1",
        "dir":"v",
        "locked":false,
        "offset":0.14771,
        "upid":"Div7"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"Div8",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "child1":"SystemControls1",
        "child2":"DisplayHtml",
        "dir":"h",
        "locked":true,
        "offset":0.63149,
        "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":"div",
      "portletConfig":{
        "amiPanelId":"MemoryDiv",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div6",
        "child2":"Div14",
        "dir":"v",
        "locked":false,
        "offset":0.99778,
        "upid":"Div11"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"MsgDiv",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div5",
        "child2":"Div13",
        "dir":"v",
        "locked":false,
        "offset":0.99816,
        "upid":"Div2"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"OverviewDiv",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"AmiCenter_amilog",
        "child2":"AmiCenter_amilog1",
        "dir":"v",
        "locked":true,
        "offset":0.99816,
        "upid":"Div1"
      }
    },
    {
      "portletBuilderId":"amiform",
      "portletConfig":{
        "amiPanelId":"SystemControls1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "fields":[
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "String curLabel = this.getValue();\n",
                    "Boolean isAdd = curLabel.startsWith(\"Add\", true);\n",
                    "DividerPanel curDiv;\n",
                    "\n",
                    "for(Tab t : Tabs1.getChildren()){\n",
                    "  curDiv = t.getInnerPanel();\n",
                    "  if(isAdd){\n",
                    "    curDiv.setDividerOffsetPct(0.5);\n",
                    "    session.log(curDiv.getStyleSet().setValue(\"divDivCl\", \"6cbcde\"));\n",
                    "  } else {\n",
                    "    curDiv.setDividerOffsetPct(1.0);\n",
                    "    session.log(curDiv.getStyleSet().setValue(\"divDivCl\", \"1d1f31\"));\n",
                    "  }\n",
                    "}\n",
                    "\n",
                    "if(isAdd){\n",
                    "  this.setValue(\"Remove Comparison\");\n",
                    "  LtCbutton.setVisible(true);\n",
                    "  UtCbutton.setVisible(true);\n",
                    "  button1.setVisible(true);\n",
                    "  durDisp2.setVisible(true);\n",
                    "  endDisp2.setVisible(true);\n",
                    "  entriesDisp2.setVisible(true);\n",
                    "  nameDisp2.setVisible(true);\n",
                    "  startDisp2.setVisible(true);\n",
                    "  rangeComp.setVisible(true);\n",
                    "  startComp.setVisible(true);\n",
                    "  endComp.setVisible(true);\n",
                    "  overlapDisplay.setVisible(true);\n",
                    "  if(overlapDisplay.getValue() != \"\" && strIndexOf((String)(overlapDisplay.getValue()), \" no\") == -1){\n",
                    "    syncOrig.setVisible(true);\n",
                    "    syncComp.setVisible(true);\n",
                    "  }\n",
                    "  \n",
                    "} else{\n",
                    "  this.setValue(\"Add Comparison\");\n",
                    "  LtCbutton.setVisible(false);\n",
                    "  UtCbutton.setVisible(false);\n",
                    "  button1.setVisible(false);\n",
                    "  durDisp2.setVisible(false);\n",
                    "  endDisp2.setVisible(false);\n",
                    "  entriesDisp2.setVisible(false);\n",
                    "  nameDisp2.setVisible(false);\n",
                    "  startDisp2.setVisible(false);\n",
                    "  rangeComp.setVisible(false);\n",
                    "  startComp.setVisible(false);\n",
                    "  endComp.setVisible(false);\n",
                    "  overlapDisplay.setVisible(false);\n",
                    "  syncOrig.setVisible(false);\n",
                    "  syncComp.setVisible(false);\n",
                    "}\n",
                    "\n",
                    "\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?LtCbutton",
                      "varName":"LtCbutton"
                    },
                    {
                      "ari":"PANEL:Tabs1",
                      "varName":"Tabs1"
                    },
                    {
                      "ari":"FIELD:SystemControls1?UtCbutton",
                      "varName":"UtCbutton"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?button1",
                      "varName":"button1"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?durDisp2",
                      "varName":"durDisp2"
                    },
                    {
                      "ari":"FIELD:SystemControls1?endComp",
                      "varName":"endComp"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?endDisp2",
                      "varName":"endDisp2"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?entriesDisp2",
                      "varName":"entriesDisp2"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?nameDisp",
                      "varName":"nameDisp"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?nameDisp2",
                      "varName":"nameDisp2"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?overlapDisplay",
                      "varName":"overlapDisplay"
                    },
                    {
                      "ari":"FIELD:SystemControls1?rangeComp",
                      "varName":"rangeComp"
                    },
                    {
                      "ari":"FIELD:SystemControls1?startComp",
                      "varName":"startComp"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?startDisp2",
                      "varName":"startDisp2"
                    },
                    {
                      "ari":"FIELD:SystemControls1?syncComp",
                      "varName":"syncComp"
                    },
                    {
                      "ari":"FIELD:SystemControls1?syncButton",
                      "varName":"syncOrig"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "dme":"\"Add Comparison\"",
            "heightPx":20,
            "l":"Add Comparison",
            "leftPosPct":0.06,
            "n":"AddComp",
            "rightPosPct":0.06,
            "style":{
              "fldBgCl":"#6cbcde",
              "fldFontCl":"#01031c",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":300,
            "zidx":14
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"mainCompareSource.processSync(new Map(\"WHERE\", \"true\", \"fromUpload\", false));",
                  "limit":-1,
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:mainCompareSource",
                      "varName":"mainCompareSource"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":20,
            "hide":true,
            "l":"Load to Compare",
            "leftPosPct":0.35106382978723405,
            "n":"LtCbutton",
            "rightPosPct":0.057446808510638325,
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":217,
            "zidx":18
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"mainCompareSource.processSync(new Map(\"WHERE\", \"true\", \"fromUpload\", true));\n",
                  "limit":-1,
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:mainCompare",
                      "varName":"mainCompare"
                    },
                    {
                      "ari":"DATAMODEL:mainCompareSource",
                      "varName":"mainCompareSource"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":22,
            "hide":true,
            "l":"Upload to Compare",
            "leftPosPct":0.3504273504273504,
            "n":"UtCbutton",
            "rightPosPct":0.06,
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":141,
            "zidx":15
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"mainSource.processSync(new Map(\"WHERE\", \"true\", \"fromUpload\", false));",
                  "limit":-1,
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:mainSource",
                      "varName":"mainSource"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":20,
            "l":"Load",
            "leftPosPct":0.06,
            "n":"button",
            "rightPosPct":0.66,
            "style":{
              "pt":"LAYOUT_DEFAULT2"
            },
            "t":"buttonField",
            "topPosPx":217,
            "zidx":8
          },
          {
            "disabled":true,
            "heightPx":2,
            "hide":true,
            "l":"",
            "leftPosPx":84,
            "n":"div",
            "style":{
              "fldBorderWd":0.0,
              "fldFontCl":"#bbc1cc",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"divField",
            "template":"<div style=\"text-align:center\">\n    <p>Drag & Drop files here or click to upload</p>\n</div>",
            "topPosPx":249,
            "widthPx":175,
            "zidx":9
          },
          {
            "disabled":true,
            "dme":"\"AmiLogFile\"",
            "heightPx":20,
            "hide":true,
            "l":"Datasource: ",
            "leftPosPx":971,
            "n":"dsSelect",
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPx":23,
            "widthPx":208,
            "zidx":4
          },
          {
            "heightPx":22,
            "hide":true,
            "l":"Enable Refresh",
            "leftPosPx":1035,
            "n":"enableRefresh",
            "style":{
              "fldCss":"refresh",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"checkbox",
            "topPosPx":32,
            "widthPx":32,
            "zidx":1
          },
          {
            "disabled":true,
            "heightPx":25,
            "hide":true,
            "l":"",
            "leftPosPct":0.58,
            "n":"endComp",
            "rightPosPct":0.06,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":11.0,
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":465,
            "zidx":22
          },
          {
            "disabled":true,
            "heightPx":25,
            "l":"",
            "leftPosPct":0.5478723404255319,
            "n":"endOrig",
            "rightPosPct":0.061170212765957466,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":11.0,
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":390,
            "zidx":21
          },
          {
            "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"
                }
              ]
            },
            "dme":"\"Select File from Datasource\"",
            "dsrt":"asc",
            "heightPx":25,
            "help":"\"Configure AmiLogFile datasource, then click on down arrow\"",
            "hide":true,
            "l":"Datasource File:",
            "leftPosPct":0.09660574412532635,
            "n":"filename",
            "rightPosPct":0.2610966057441253,
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "fldLblStatus":true,
              "fontSz":14.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"textField",
            "topPosPct":0.54,
            "topPosPx":-12,
            "vCenterOffsetPct":0.04,
            "zidx":10
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "Long min = parseDate(startText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long max = parseDate(endText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long r = max-min;\n",
                    "\n",
                    "Long start = this.getLowValue()*r +min;\n",
                    "Long fin = this.getHighValue()*r +min;\n",
                    "\n",
                    "startComp.setValue(formatDateTimeWithMillis(start));\n",
                    "endComp.setValue(formatDateTimeWithMillis(fin));\n",
                    "\n",
                    "mainCompare.process(new Map(\"WHERE\", \"now > ${start} && now < ${fin}\"));"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?endComp",
                      "varName":"endComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp2?",
                      "varName":"endText"
                    },
                    {
                      "ari":"DATAMODEL:mainCompare",
                      "varName":"mainCompare"
                    },
                    {
                      "ari":"FIELD:SystemControls1?startComp",
                      "varName":"startComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp2?",
                      "varName":"startText"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":0,
            "hide":true,
            "l":"Comparison Time Range",
            "leftPosPct":0.06,
            "max":1.0,
            "min":0.0,
            "n":"rangeComp",
            "s":1.0E-4,
            "style":{
              "fldFocusBorderWd":0.0,
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "lblPd":10.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"numSubRange",
            "textHidden":false,
            "topPosPx":455,
            "widthPct":1.0,
            "widthPx":50,
            "zidx":17
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "Long min = parseDate(startText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long max = parseDate(endText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long r = max-min;\n",
                    "\n",
                    "Long start = this.getLowValue()*r +min;\n",
                    "Long fin = this.getHighValue()*r +min;\n",
                    "\n",
                    "startOrig.setValue(formatDateTimeWithMillis(start));\n",
                    "endOrig.setValue(formatDateTimeWithMillis(fin));\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?endOrig",
                      "varName":"endOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                      "varName":"endText"
                    },
                    {
                      "ari":"DATAMODEL:main",
                      "varName":"main"
                    },
                    {
                      "ari":"FIELD:SystemControls1?startOrig",
                      "varName":"startOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                      "varName":"startText"
                    }
                  ],
                  "name":"onEnterKey"
                },
                {
                  "amiscript":[
                    "Long min = parseDate(startText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long max = parseDate(endText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long r = max-min;\n",
                    "\n",
                    "Long start = this.getLowValue()*r +min;\n",
                    "Long fin = this.getHighValue()*r +min;\n",
                    "\n",
                    "startOrig.setValue(formatDateTimeWithMillis(start));\n",
                    "endOrig.setValue(formatDateTimeWithMillis(fin));\n",
                    "\n",
                    "main.process(new Map(\"WHERE\", \"now > ${start} && now < ${fin}\"));"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?endOrig",
                      "varName":"endOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                      "varName":"endText"
                    },
                    {
                      "ari":"DATAMODEL:main",
                      "varName":"main"
                    },
                    {
                      "ari":"FIELD:SystemControls1?startOrig",
                      "varName":"startOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                      "varName":"startText"
                    }
                  ],
                  "name":"onChange"
                },
                {
                  "amiscript":[
                    "Long min = parseDate(startText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long max = parseDate(endText, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "Long r = max-min;\n",
                    "\n",
                    "Long start = this.getLowValue()*r +min;\n",
                    "Long fin = this.getHighValue()*r +min;\n",
                    "\n",
                    "startOrig.setValue(formatDateTimeWithMillis(start));\n",
                    "endOrig.setValue(formatDateTimeWithMillis(fin));\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?endOrig",
                      "varName":"endOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                      "varName":"endText"
                    },
                    {
                      "ari":"DATAMODEL:main",
                      "varName":"main"
                    },
                    {
                      "ari":"FIELD:SystemControls1?startOrig",
                      "varName":"startOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                      "varName":"startText"
                    }
                  ],
                  "name":"onFocus"
                }
              ]
            },
            "heightPx":0,
            "l":"Original Time Range",
            "leftPosPct":0.06,
            "max":1.0,
            "min":0.0,
            "n":"rangeOrig",
            "s":1.0E-4,
            "style":{
              "fldFocusBorderWd":0.0,
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "lblPd":10.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"numSubRange",
            "textHidden":false,
            "topPosPx":380,
            "widthPct":1.0,
            "widthPx":50,
            "zidx":12
          },
          {
            "heightPx":18,
            "hide":true,
            "l":"Refresh TIme",
            "leftPosPx":857,
            "n":"refreshTime",
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"selectField",
            "topPosPx":32,
            "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":3
          },
          {
            "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,
            "hide":true,
            "l":"Refresh",
            "leftPosPx":319,
            "n":"refreshall",
            "style":{
              "fldBgCl":"#3f3f3f",
              "fldFontCl":"#f5f53f",
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":7,
            "widthPx":89,
            "zidx":7
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "FormPanel fp = this.getPanel();\n",
                    "if(this.getValue() != \"\"){\n",
                    "fp.setValue(\"filename\", this.getValue());\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"
                },
                {
                  "amiscript":[
                    "filenames.reprocess();\n",
                    "this.focus();"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"DATAMODEL:filenames",
                      "varName":"filenames"
                    }
                  ],
                  "name":"onFocus"
                }
              ]
            },
            "dme":"\"\"",
            "dmid":"filenames",
            "dmtbid":"_",
            "dscid":"key",
            "dsrt":"asc",
            "dsvid":"name",
            "heightPx":25,
            "l":"Select Datasource File:",
            "leftPosPct":0.06,
            "n":"selectFile",
            "rightPosPct":0.06,
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "fontCl":"#6cbcde",
              "pt":"LAYOUT_DEFAULT2"
            },
            "t":"selectField",
            "topPosPx":190,
            "zidx":6
          },
          {
            "disabled":true,
            "heightPx":25,
            "hide":true,
            "l":"",
            "leftPosPct":0.06,
            "n":"startComp",
            "rightPosPct":0.5797872340425532,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":11.0,
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":465,
            "zidx":19
          },
          {
            "disabled":true,
            "heightPx":25,
            "l":"",
            "leftPosPct":0.06,
            "n":"startOrig",
            "rightPosPct":0.55,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":11.0,
              "fldLblSide":"top",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":390,
            "zidx":16
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "\n",
                    "Boolean partialOverlap = strStartsWith(overlapValue, \"Overlap:\", false) != -1;\n",
                    "Boolean hasOverlap = partialOverlap || strIndexOf(overlapValue, \"same\") != -1;\n",
                    "\n",
                    "if(hasOverlap){\n",
                    "  Long sComp = parseDate(startComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long eComp = parseDate(endComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long sRangeOrig = parseDate(startRangeOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long eRangeOrig = parseDate(endRangeOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  List rangeOverlap = getOverlap(sRangeOrig, eRangeOrig, sComp, eComp);\n",
                    "\n",
                    "  Double newLow, newHigh;\n",
                    "  if(rangeOverlap.size() == 2){\n",
                    "    newLow = timeToRange((Long)(rangeOverlap.get(0)), sComp, eComp);\n",
                    "    newHigh = timeToRange((Long)(rangeOverlap.get(1)), sComp, eComp);\n",
                    "  } else if (rangeOverlap.size() == 4){\n",
                    "    newLow = timeToRange((Long)(rangeOverlap.get(1)), sComp, eComp);\n",
                    "    newHigh = timeToRange((Long)(rangeOverlap.get(2)), sComp, eComp);\n",
                    "  } else {\n",
                    "    newLow = rangeComp.getLowValue();\n",
                    "    newHigh = rangeComp.getHighValue();\n",
                    "  }\n",
                    "  rangeComp.setValue(newLow, newHigh);\n",
                    "  rangeComp.invokeCallback(\"onChange\");\n",
                    "}\n",
                    "\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp2?",
                      "varName":"endComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                      "varName":"endOrig"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?endComp?",
                      "varName":"endRangeComp"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?endOrig?",
                      "varName":"endRangeOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?overlapDisplay?",
                      "varName":"overlapValue"
                    },
                    {
                      "ari":"FIELD:SystemControls1?rangeComp",
                      "varName":"rangeComp"
                    },
                    {
                      "ari":"FIELD:SystemControls1?rangeOrig",
                      "varName":"rangeOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp2?",
                      "varName":"startComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                      "varName":"startOrig"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?startComp?",
                      "varName":"startRangeComp"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?startOrig?",
                      "varName":"startRangeOrig"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":20,
            "hide":true,
            "l":"Sync to Original",
            "leftPosPct":0.06,
            "n":"syncButton",
            "rightPosPct":0.52,
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":500,
            "zidx":19
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "\n",
                    "Boolean partialOverlap = strStartsWith(overlapValue, \"Overlap:\", false) != -1;\n",
                    "Boolean hasOverlap = partialOverlap || strIndexOf(overlapValue, \"same\") != -1;\n",
                    "\n",
                    "if(hasOverlap){\n",
                    "  Long sOrig = parseDate(startOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long eOrig = parseDate(endOrig, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long sRangeComp = parseDate(startRangeComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  Long eRangeComp = parseDate(endRangeComp, \"MM/dd/yyyy HH:mm:ss.SSS\");\n",
                    "  List rangeOverlap = getOverlap(sRangeComp, eRangeComp, sOrig, eOrig);\n",
                    "\n",
                    "  Double newLow, newHigh;\n",
                    "  if(rangeOverlap.size() == 2){\n",
                    "    newLow = timeToRange((Long)(rangeOverlap.get(0)), sOrig, eOrig);\n",
                    "    newHigh = timeToRange((Long)(rangeOverlap.get(1)), sOrig, eOrig);\n",
                    "  } else if (rangeOverlap.size() == 4){\n",
                    "    newLow = timeToRange((Long)(rangeOverlap.get(1)), sOrig, eOrig);\n",
                    "    newHigh = timeToRange((Long)(rangeOverlap.get(2)), sOrig, eOrig);\n",
                    "  } else {\n",
                    "    newLow = rangeOrig.getLowValue();\n",
                    "    newHigh = rangeOrig.getHighValue();\n",
                    "  }\n",
                    "  \n",
                    "  rangeOrig.setValue(newLow, newHigh);\n",
                    "  rangeOrig.invokeCallback(\"onChange\");\n",
                    "}\n",
                    "\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp2?",
                      "varName":"endComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?endDisp?",
                      "varName":"endOrig"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?endComp?",
                      "varName":"endRangeComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?overlapDisplay?",
                      "varName":"overlapValue"
                    },
                    {
                      "ari":"FIELD:SystemControls1?rangeComp",
                      "varName":"rangeComp"
                    },
                    {
                      "ari":"FIELD:SystemControls1?rangeOrig",
                      "varName":"rangeOrig"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp2?",
                      "varName":"startComp"
                    },
                    {
                      "ari":"FIELDVALUE:DisplayHtml?startDisp?",
                      "varName":"startOrig"
                    },
                    {
                      "ari":"FIELDVALUE:SystemControls1?startComp?",
                      "varName":"startRangeComp"
                    }
                  ],
                  "name":"onChange"
                }
              ]
            },
            "heightPx":20,
            "hide":true,
            "l":"Sync to Comparison",
            "leftPosPct":0.5212765957446809,
            "n":"syncComp",
            "rightPosPct":0.05851063829787229,
            "style":{
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":500,
            "zidx":20
          },
          {
            "disabled":true,
            "heightPx":33,
            "l":"System Controls",
            "leftPosPct":0.06,
            "n":"title",
            "rightPosPct":0.06,
            "style":{
              "fldBgCl":"#01031c",
              "fldFontSz":20.0,
              "fontSz":0.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"buttonField",
            "topPosPx":16,
            "zidx":11
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"div.setVisible(false);",
                  "linkedVariables":[
                    {
                      "ari":"FIELD:SystemControls1?div",
                      "varName":"div"
                    }
                  ],
                  "name":"onUploadStart"
                }
              ]
            },
            "heightPx":70,
            "l":"Upload File:",
            "leftPosPct":0.05851063829787234,
            "n":"uploadFF",
            "rightPosPct":0.0585106382978724,
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "fontCl":"#6cbcde",
              "fontSz":14.0,
              "pt":"LAYOUT_DEFAULT2"
            },
            "t":"upload",
            "topPosPx":69,
            "ufbt":"",
            "zidx":2
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":"mainSource.processSync(new Map(\"WHERE\", \"true\", \"fromUpload\", true));",
                  "inputDm":[
                    "main"
                  ],
                  "limit":-1,
                  "linkedVariables":[
                    {
                      "ari":"FIELD:DisplayHtml?durDisp",
                      "varName":"durDisp"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?endDisp",
                      "varName":"endDisp"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?entriesDisp",
                      "varName":"entriesDisp"
                    },
                    {
                      "ari":"DATAMODEL:mainSource",
                      "varName":"mainSource"
                    },
                    {
                      "ari":"FIELD:DisplayHtml?startDisp",
                      "varName":"startDisp"
                    }
                  ],
                  "name":"onChange",
                  "schema":{
                    "tbl":[
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"logouts",
                            "tp":"Long"
                          },
                          {
                            "nm":"relayEvents",
                            "tp":"Long"
                          },
                          {
                            "nm":"objExpires",
                            "tp":"Long"
                          },
                          {
                            "nm":"snapshots",
                            "tp":"Long"
                          },
                          {
                            "nm":"dsQueries",
                            "tp":"Long"
                          },
                          {
                            "nm":"logins",
                            "tp":"Long"
                          },
                          {
                            "nm":"events",
                            "tp":"Long"
                          },
                          {
                            "nm":"strPoolSize",
                            "tp":"Integer"
                          },
                          {
                            "nm":"dTime",
                            "tp":"Long"
                          },
                          {
                            "nm":"devents",
                            "tp":"Double"
                          },
                          {
                            "nm":"drelayEvents",
                            "tp":"Double"
                          },
                          {
                            "nm":"dobjExpires",
                            "tp":"Double"
                          }
                        ],
                        "nm":"AmiCenterEvents",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"type",
                            "tp":"String"
                          },
                          {
                            "nm":"count",
                            "tp":"Long"
                          },
                          {
                            "nm":"dTime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dCount",
                            "tp":"Long"
                          }
                        ],
                        "nm":"AmiCenterObjects",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"name",
                            "tp":"String"
                          },
                          {
                            "nm":"errors",
                            "tp":"Long"
                          },
                          {
                            "nm":"millis",
                            "tp":"Long"
                          },
                          {
                            "nm":"runtime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dCount",
                            "tp":"Long"
                          },
                          {
                            "nm":"timeForAction",
                            "tp":"Double"
                          }
                        ],
                        "nm":"AmiCenterStoredProcs",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"type",
                            "tp":"String"
                          },
                          {
                            "nm":"count",
                            "tp":"Long"
                          }
                        ],
                        "nm":"AmiCenterTables",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"name",
                            "tp":"String"
                          },
                          {
                            "nm":"errors",
                            "tp":"Long"
                          },
                          {
                            "nm":"millis",
                            "tp":"Long"
                          },
                          {
                            "nm":"runtime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dCount",
                            "tp":"Long"
                          },
                          {
                            "nm":"timeForAction",
                            "tp":"Double"
                          }
                        ],
                        "nm":"AmiCenterTimers",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"name",
                            "tp":"String"
                          },
                          {
                            "nm":"errors",
                            "tp":"Long"
                          },
                          {
                            "nm":"millis",
                            "tp":"Long"
                          },
                          {
                            "nm":"runtime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dCount",
                            "tp":"Long"
                          },
                          {
                            "nm":"timeForAction",
                            "tp":"Double"
                          }
                        ],
                        "nm":"AmiCenterTriggers",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "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":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"address",
                            "tp":"String"
                          },
                          {
                            "nm":"activeSessions",
                            "tp":"Integer"
                          },
                          {
                            "nm":"status",
                            "tp":"String"
                          }
                        ],
                        "nm":"AmiWebBalancerServer",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "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":"apply"
                      },
                      {
                        "cols":[
                          {
                            "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":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"freeMem",
                            "tp":"Long"
                          },
                          {
                            "nm":"maxMem",
                            "tp":"Long"
                          },
                          {
                            "nm":"totMem",
                            "tp":"Long"
                          },
                          {
                            "nm":"popsGcMem",
                            "tp":"Long"
                          },
                          {
                            "nm":"gcCount",
                            "tp":"Long"
                          },
                          {
                            "nm":"threadBlocked",
                            "tp":"Integer"
                          },
                          {
                            "nm":"threadsNew",
                            "tp":"Integer"
                          },
                          {
                            "nm":"threadsRunnable",
                            "tp":"Integer"
                          },
                          {
                            "nm":"threadsTimedWaiting",
                            "tp":"Integer"
                          },
                          {
                            "nm":"threadsWaiting",
                            "tp":"Integer"
                          }
                        ],
                        "nm":"Process",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"dir",
                            "tp":"String"
                          },
                          {
                            "nm":"name",
                            "tp":"String"
                          },
                          {
                            "nm":"msgCount",
                            "tp":"Long"
                          },
                          {
                            "nm":"connections",
                            "tp":"String"
                          }
                        ],
                        "nm":"Topic",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"Type",
                            "tp":"String"
                          },
                          {
                            "nm":"Avg",
                            "tp":"Double"
                          },
                          {
                            "nm":"Max",
                            "tp":"Double"
                          },
                          {
                            "nm":"Min",
                            "tp":"Double"
                          },
                          {
                            "nm":"Avg/s",
                            "tp":"Double"
                          },
                          {
                            "nm":"Max/s",
                            "tp":"Double"
                          },
                          {
                            "nm":"Min/s",
                            "tp":"Double"
                          }
                        ],
                        "nm":"eventStats",
                        "oc":"ask"
                      },
                      {
                        "cols":[
                          {
                            "nm":"start",
                            "tp":"Long"
                          },
                          {
                            "nm":"end",
                            "tp":"Long"
                          },
                          {
                            "nm":"entries",
                            "tp":"Long"
                          }
                        ],
                        "nm":"summary",
                        "oc":"ask"
                      },
                      {
                        "cols":[
                          {
                            "nm":"now",
                            "tp":"Long"
                          },
                          {
                            "nm":"added",
                            "tp":"Long"
                          },
                          {
                            "nm":"processed",
                            "tp":"Long"
                          },
                          {
                            "nm":"queued",
                            "tp":"Long"
                          },
                          {
                            "nm":"totExecTime",
                            "tp":"Long"
                          },
                          {
                            "nm":"execs",
                            "tp":"Long"
                          },
                          {
                            "nm":"inThreadPool",
                            "tp":"Boolean"
                          },
                          {
                            "nm":"name",
                            "tp":"String"
                          },
                          {
                            "nm":"startTime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dTime",
                            "tp":"Long"
                          },
                          {
                            "nm":"dProcessed",
                            "tp":"Double"
                          },
                          {
                            "nm":"dAdded",
                            "tp":"Double"
                          },
                          {
                            "nm":"dQueued",
                            "tp":"Double"
                          }
                        ],
                        "nm":"tPartition",
                        "oc":"apply"
                      },
                      {
                        "cols":[
                          {
                            "nm":"Type",
                            "tp":"String"
                          },
                          {
                            "nm":"Avg",
                            "tp":"Double"
                          },
                          {
                            "nm":"Max",
                            "tp":"Integer"
                          },
                          {
                            "nm":"Min",
                            "tp":"Integer"
                          }
                        ],
                        "nm":"threadStats",
                        "oc":"ask"
                      }
                    ]
                  }
                }
              ]
            },
            "heightPx":21,
            "l":"Upload",
            "leftPosPct":0.05851063829787234,
            "n":"uploadall",
            "rightPosPct":0.6622340425531915,
            "style":{
              "fldLblAlign":"center",
              "fldLblSide":"left",
              "fldLblStatus":false,
              "pt":"LAYOUT_DEFAULT2"
            },
            "t":"buttonField",
            "topPosPx":141,
            "zidx":5
          },
          {
            "callbacks":{
              "entries":[
                {
                  "amiscript":[
                    "List charts = viewNameSelect.getValue();\n",
                    "for(Tab t : Tabs1.getChildren()){\n",
                    "  if(!(charts.contains(t.getTitle())) && charts.size() != 0){\n",
                    "    t.setHidden(true);\n",
                    "  } else {\n",
                    "    t.setHidden(false);\n",
                    "  }\n",
                    "}\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"PANEL:Tabs1",
                      "varName":"Tabs1"
                    },
                    {
                      "ari":"FIELD:SystemControls1?viewNameSelect",
                      "varName":"viewNameSelect"
                    }
                  ],
                  "name":"onEnterKey"
                },
                {
                  "amiscript":[
                    "List charts = viewNameSelect.getValue();\n",
                    "for(Tab t : Tabs1.getChildren()){\n",
                    "  if(!(charts.contains(t.getTitle())) && charts.size() != 0){\n",
                    "    t.setHidden(true);\n",
                    "  } else {\n",
                    "    t.setHidden(false);\n",
                    "  }\n",
                    "}\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"PANEL:Tabs1",
                      "varName":"Tabs1"
                    },
                    {
                      "ari":"FIELD:SystemControls1?viewNameSelect",
                      "varName":"viewNameSelect"
                    }
                  ],
                  "name":"onChange"
                },
                {
                  "amiscript":[
                    "List charts = viewNameSelect.getValue();\n",
                    "for(Tab t : Tabs1.getChildren()){\n",
                    "  if(!(charts.contains(t.getTitle())) && charts.size() != 0){\n",
                    "    t.setHidden(true);\n",
                    "  } else {\n",
                    "    t.setHidden(false);\n",
                    "  }\n",
                    "}\n"
                  ],
                  "linkedVariables":[
                    {
                      "ari":"PANEL:Tabs1",
                      "varName":"Tabs1"
                    },
                    {
                      "ari":"FIELD:SystemControls1?viewNameSelect",
                      "varName":"viewNameSelect"
                    }
                  ],
                  "name":"onFocus"
                }
              ]
            },
            "dmid":"chartNames",
            "dmtbid":"viewNames",
            "dscid":"name",
            "dsvid":"name",
            "heightPx":25,
            "l":"Select Charts to View:",
            "leftPosPct":0.06,
            "n":"viewNameSelect",
            "rightPosPct":0.06,
            "style":{
              "fldLblAlign":"start",
              "fldLblSide":"top",
              "fontCl":"#6cbcde",
              "pt":"LAYOUT_DEFAULT"
            },
            "t":"multiCheckboxField",
            "topPosPx":265,
            "zidx":13
          }
        ],
        "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":"SystemControls1"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "defaultTab":"tab2",
        "tabs":[
          {
            "child":"OverviewDiv",
            "id":"tab2",
            "nf":"\"Overview\""
          },
          {
            "child":"MsgDiv",
            "id":"tab1",
            "nf":"\"Messages\""
          },
          {
            "child":"MemoryDiv",
            "id":"tab0",
            "nf":"\"Memory Details\""
          },
          {
            "child":"ThreadsDiv",
            "id":"tab3",
            "nf":"\"Threads\""
          },
          {
            "child":"Div2",
            "id":"tab4",
            "nf":"\"Events\""
          },
          {
            "child":"Div17",
            "id":"tab5",
            "nf":"\"Objects\""
          },
          {
            "child":"Div18",
            "id":"tab6",
            "nf":"\"Web\""
          },
          {
            "child":"Div32",
            "id":"tab7",
            "nf":"\"Timers\""
          },
          {
            "child":"Div25",
            "id":"tab8",
            "nf":"\"Procedures\""
          },
          {
            "child":"Div35",
            "id":"tab9",
            "nf":"\"Triggers\""
          },
          {
            "child":"Div1",
            "id":"tab10",
            "nf":"\"Web Balancer\""
          }
        ],
        "upid":"Tabs1"
      }
    },
    {
      "portletBuilderId":"tab",
      "portletConfig":{
        "amiPanelId":"Tabs3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "dmPos":{
          "h":50,
          "w":100,
          "x":500,
          "y":125
        },
        "tabs":[
        ],
        "upid":"Tabs3"
      }
    },
    {
      "portletBuilderId":"div",
      "portletConfig":{
        "amiPanelId":"ThreadsDiv",
        "amiStyle":{
          "divSz":6.0,
          "pt":"LAYOUT_DEFAULT"
        },
        "child1":"Div4",
        "child2":"Div15",
        "dir":"v",
        "locked":false,
        "offset":0.99816,
        "upid":"Div13"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"eventsChart",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"eventsChart",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "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":"Total Events"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":18,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Events/s"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"events",
            "dmtbid":[
              "AmiCenterEvents"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "p":-1,
                "w":1.0
              }
            ],
            "p":-1,
            "w":1.333868378812199
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "p":-1,
                "w":1.0
              }
            ],
            "p":-1,
            "w":1.5168539325842696
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.0
              }
            ],
            "p":31,
            "w":0.1492776886035313
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"events",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Events\", now,\"Count\",formatNumber(events,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"events"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"events",
                "id":6,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":5,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff3f3f\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff3f3f\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\", now,\"Count\",formatNumber(relayEvents,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"relayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"events",
                "id":8,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":7,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#9fff3f\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#86d43c\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Object Expires",
                    "tooltip":"hoverDisplay(\"Object Expires\", now,\"Count\",formatNumber(objExpires,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"objExpires"
                  }
                ],
                "name":"Object Expires",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":11,
                "name":"Legend ",
                "opac":100,
                "ser":[
                  4,
                  5,
                  7,
                  9
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"events",
                "id":23,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":22,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\",now, \"Rate\", formatNumber(drelayEvents,\"#,###/s\",\"\"))",
                    "xPos":"now",
                    "yPos":"drelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":18
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"events",
                "id":21,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":20,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Events\", now,\"Count\",formatNumber(events,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"devents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":18
              }
            ],
            "plotId":19,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"eventsChart"
        },
        "upid":"eventsChart"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"eventsChart1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"eventsChart",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "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":"Total Events"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":18,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Events/s"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"eventsComp",
            "dmtbid":[
              "AmiCenterEvents"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "p":-1,
                "w":1.0
              }
            ],
            "p":-1,
            "w":1.333868378812199
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "p":-1,
                "w":1.0
              }
            ],
            "p":-1,
            "w":1.5168539325842696
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":70,
                "w":1.0
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.0
              }
            ],
            "p":31,
            "w":0.1492776886035313
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"eventsComp",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Events\", now,\"Count\",formatNumber(events,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"events"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"eventsComp",
                "id":6,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":5,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff3f3f\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff3f3f\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\", now,\"Count\",formatNumber(relayEvents,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"relayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"eventsComp",
                "id":8,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":7,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#9fff3f\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#86d43c\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Object Expires",
                    "tooltip":"hoverDisplay(\"Object Expires\", now,\"Count\",formatNumber(objExpires,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"objExpires"
                  }
                ],
                "name":"Object Expires",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":11,
                "name":"Legend ",
                "opac":100,
                "ser":[
                  4,
                  5,
                  7,
                  9
                ],
                "type":"Legend"
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"eventsComp",
                "id":23,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":22,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"RelayEvents",
                    "tooltip":"hoverDisplay(\"Relay Events\",now, \"Rate\", formatNumber(drelayEvents,\"#,###/s\",\"\"))",
                    "xPos":"now",
                    "yPos":"drelayEvents"
                  }
                ],
                "name":"RelayEvents",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":18
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterEvents",
                "dmadn":"eventsComp",
                "id":21,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":20,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Events",
                    "tooltip":"hoverDisplay(\"Events\", now,\"Count\",formatNumber(events,\"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"devents"
                  }
                ],
                "name":"Events",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":18
              }
            ],
            "plotId":19,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"eventsChart"
        },
        "upid":"eventsChart1"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"Type",
            "id":"Type",
            "location":0,
            "tl":"Type",
            "tp":"text",
            "width":88
          },
          {
            "fm":"Avg",
            "id":"Avg",
            "location":1,
            "tl":"Avg",
            "tp":"numeric",
            "width":49
          },
          {
            "fm":"Max",
            "id":"Max",
            "location":2,
            "pc":0,
            "tl":"Max",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"Min",
            "id":"Min",
            "location":3,
            "pc":0,
            "tl":"Min",
            "tp":"numeric",
            "width":40
          },
          {
            "fm":"`Avg/s`",
            "id":"Avg_s",
            "location":4,
            "tl":"Avg/s",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"`Max/s`",
            "id":"Max_s",
            "location":5,
            "tl":"Max/s",
            "tp":"numeric",
            "width":44
          },
          {
            "fm":"`Min/s`",
            "id":"Min_s",
            "location":6,
            "tl":"Min/s",
            "tp":"numeric",
            "width":41
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"eventsStats",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Events Stats",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "List layers = eventsChart.getPlot(0,0).getLayers();\n",
                "layers.remove(3);\n",
                "layers.addAll(eventsChart.getPlot(0,1).getLayers());\n",
                "List types = this.asTable(\"\",new Set(\"Type\")).toList(\"Type\");\n",
                "List selected = this.getSelectedRows().size() == 0 ? types : this.asTable(\"SELECTED\", NULL).toList(\"Type\");\n",
                "List colors = new List(\"#30b3ff\", \"#ff303e\", \"#86d43c\");\n",
                "  \n",
                "for(int i = 0; i < layers.size(); i++){\n",
                "  Boolean typeSel = selected.contains(types.get(i % 3));\n",
                "  ChartPanelLayer l = layers.get(i);\n",
                "  l.setFormula(\"lineSize\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mWidth\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mHeight\", typeSel ? \"2\":\"0\");\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
                {
                  "ari":"PANEL:eventsChart",
                  "varName":"eventsChart"
                },
                {
                  "ari":"PANEL:eventsTable",
                  "varName":"eventsTable"
                }
              ],
              "name":"onSelected"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "eventStats"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Events Stats"
        },
        "upid":"eventsStats",
        "varTypes":{
          "Avg":"Double",
          "Avg/s":"Double",
          "Max":"Double",
          "Max/s":"Double",
          "Min":"Double",
          "Min/s":"Double",
          "Type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"Type",
            "id":"Type",
            "location":0,
            "tl":"Type",
            "tp":"text",
            "width":88
          },
          {
            "fm":"Avg",
            "id":"Avg",
            "location":1,
            "tl":"Avg",
            "tp":"numeric",
            "width":49
          },
          {
            "fm":"Max",
            "id":"Max",
            "location":2,
            "pc":0,
            "tl":"Max",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"Min",
            "id":"Min",
            "location":3,
            "pc":0,
            "tl":"Min",
            "tp":"numeric",
            "width":40
          },
          {
            "fm":"`Avg/s`",
            "id":"Avg_s",
            "location":4,
            "tl":"Avg/s",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"`Max/s`",
            "id":"Max_s",
            "location":5,
            "tl":"Max/s",
            "tp":"numeric",
            "width":44
          },
          {
            "fm":"`Min/s`",
            "id":"Min_s",
            "location":6,
            "tl":"Min/s",
            "tp":"numeric",
            "width":41
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"eventsStats1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Events Stats",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "List layers = eventsChart.getPlot(0,0).getLayers();\n",
                "layers.remove(3);\n",
                "layers.addAll(eventsChart.getPlot(0,1).getLayers());\n",
                "List types = this.asTable(\"\",new Set(\"Type\")).toList(\"Type\");\n",
                "List selected = this.getSelectedRows().size() == 0 ? types : this.asTable(\"SELECTED\", NULL).toList(\"Type\");\n",
                "List colors = new List(\"#30b3ff\", \"#ff303e\", \"#86d43c\");\n",
                "  \n",
                "for(int i = 0; i < layers.size(); i++){\n",
                "  Boolean typeSel = selected.contains(types.get(i % 3));\n",
                "  ChartPanelLayer l = layers.get(i);\n",
                "  l.setFormula(\"lineSize\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mWidth\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mHeight\", typeSel ? \"2\":\"0\");\n",
                "  \n",
                "}\n"
              ],
              "linkedVariables":[
                {
                  "ari":"PANEL:eventsChart",
                  "varName":"eventsChart"
                },
                {
                  "ari":"PANEL:eventsTable",
                  "varName":"eventsTable"
                }
              ],
              "name":"onSelected"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "eventStats"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Events Stats"
        },
        "upid":"eventsStats1",
        "varTypes":{
          "Avg":"Double",
          "Avg/s":"Double",
          "Max":"Double",
          "Max/s":"Double",
          "Min":"Double",
          "Min/s":"Double",
          "Type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"events",
            "id":"events",
            "location":1,
            "pc":0,
            "tl":"Events",
            "tp":"numeric",
            "width":49
          },
          {
            "fm":"relayEvents",
            "id":"relayEvents",
            "location":2,
            "pc":0,
            "tl":"Relay Events",
            "tp":"numeric",
            "width":86
          },
          {
            "fm":"objExpires",
            "id":"objExpires",
            "location":3,
            "pc":0,
            "tl":"Obj. Expires",
            "tp":"numeric",
            "width":80
          },
          {
            "fm":"dsQueries",
            "id":"dsQueries",
            "location":4,
            "pc":0,
            "tl":"DS Queries",
            "tp":"numeric",
            "width":77
          },
          {
            "fm":"dTime",
            "id":"dTime",
            "location":5,
            "pc":0,
            "tl":"d Time (ms)",
            "tp":"numeric",
            "width":78
          },
          {
            "fm":"devents",
            "id":"devents",
            "location":6,
            "tl":"d Events",
            "tp":"numeric",
            "width":60
          },
          {
            "fm":"drelayEvents",
            "id":"drelayEvents",
            "location":7,
            "tl":"d Relay Events",
            "tp":"numeric",
            "width":97
          },
          {
            "fm":"logins",
            "id":"logins",
            "location":8,
            "pc":0,
            "tl":"Logins",
            "tp":"numeric",
            "width":48
          },
          {
            "fm":"logouts",
            "id":"logouts",
            "location":9,
            "pc":0,
            "tl":"Logouts",
            "tp":"numeric",
            "width":56
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"snapshots",
            "id":"snapshots",
            "pc":0,
            "tl":"Snapshots",
            "tp":"numeric",
            "width":71
          },
          {
            "fm":"dobjExpires",
            "id":"dobjExpires",
            "tl":"d Object Expires",
            "tp":"numeric",
            "width":105
          },
          {
            "fm":"strPoolSize",
            "id":"strPoolSize",
            "pc":0,
            "tl":"str Pool Size",
            "tp":"numeric",
            "width":82
          }
        ],
        "amiPanelId":"eventsTable",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Events Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"events",
            "dmtbid":[
              "AmiCenterEvents"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Events Timeline"
        },
        "upid":"eventsTable",
        "varTypes":{
          "dTime":"Long",
          "devents":"Double",
          "dobjExpires":"Double",
          "drelayEvents":"Double",
          "dsQueries":"Long",
          "events":"Long",
          "logins":"Long",
          "logouts":"Long",
          "now":"Long",
          "objExpires":"Long",
          "relayEvents":"Long",
          "snapshots":"Long",
          "strPoolSize":"Integer"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"events",
            "id":"events",
            "location":1,
            "pc":0,
            "tl":"Events",
            "tp":"numeric",
            "width":49
          },
          {
            "fm":"relayEvents",
            "id":"relayEvents",
            "location":2,
            "pc":0,
            "tl":"Relay Events",
            "tp":"numeric",
            "width":86
          },
          {
            "fm":"objExpires",
            "id":"objExpires",
            "location":3,
            "pc":0,
            "tl":"Obj. Expires",
            "tp":"numeric",
            "width":80
          },
          {
            "fm":"dsQueries",
            "id":"dsQueries",
            "location":4,
            "pc":0,
            "tl":"DS Queries",
            "tp":"numeric",
            "width":77
          },
          {
            "fm":"dTime",
            "id":"dTime",
            "location":5,
            "pc":0,
            "tl":"d Time (ms)",
            "tp":"numeric",
            "width":78
          },
          {
            "fm":"devents",
            "id":"devents",
            "location":6,
            "tl":"d Events",
            "tp":"numeric",
            "width":60
          },
          {
            "fm":"drelayEvents",
            "id":"drelayEvents",
            "location":7,
            "tl":"d Relay Events",
            "tp":"numeric",
            "width":97
          },
          {
            "fm":"logins",
            "id":"logins",
            "location":8,
            "pc":0,
            "tl":"Logins",
            "tp":"numeric",
            "width":48
          },
          {
            "fm":"logouts",
            "id":"logouts",
            "location":9,
            "pc":0,
            "tl":"Logouts",
            "tp":"numeric",
            "width":56
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"snapshots",
            "id":"snapshots",
            "pc":0,
            "tl":"Snapshots",
            "tp":"numeric",
            "width":71
          },
          {
            "fm":"dobjExpires",
            "id":"dobjExpires",
            "tl":"d Object Expires",
            "tp":"numeric",
            "width":105
          },
          {
            "fm":"strPoolSize",
            "id":"strPoolSize",
            "pc":0,
            "tl":"str Pool Size",
            "tp":"numeric",
            "width":82
          }
        ],
        "amiPanelId":"eventsTable1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Events Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"eventsComp",
            "dmtbid":[
              "AmiCenterEvents"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Events Timeline"
        },
        "upid":"eventsTable1",
        "varTypes":{
          "dTime":"Long",
          "devents":"Double",
          "dobjExpires":"Double",
          "drelayEvents":"Double",
          "dsQueries":"Long",
          "events":"Long",
          "logins":"Long",
          "logouts":"Long",
          "now":"Long",
          "objExpires":"Long",
          "relayEvents":"Long",
          "snapshots":"Long",
          "strPoolSize":"Integer"
        }
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "amiPanelId":"main",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Objects Stats",
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "formulas":[
          {
            "d":"type",
            "f":"type",
            "id":"type",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":200,
        "titlePnl":{
          "title":"Objects Stats"
        },
        "upid":"main",
        "varTypes":{
          "count":"Long",
          "dCount":"Long",
          "type":"String"
        },
        "vcols":[
          {
            "d":"avg(count)",
            "id":"avgRows",
            "location":1,
            "n":"Avg Rows",
            "pc":0,
            "w":74,
            "y":"numeric"
          },
          {
            "d":"max(count)",
            "id":"count2",
            "location":2,
            "n":"Max Rows",
            "pc":0,
            "w":77,
            "y":"numeric"
          },
          {
            "d":"min(count)",
            "id":"minRows",
            "location":3,
            "n":"Min Rows",
            "pc":0,
            "w":74,
            "y":"text"
          },
          {
            "d":"avg(dCount)",
            "id":"dCount",
            "location":4,
            "n":"Avg Rows/s",
            "pc":0,
            "w":80,
            "y":"numeric"
          },
          {
            "d":"max(dCount)",
            "id":"maxRowss",
            "location":5,
            "n":"Max Rows/s",
            "pc":0,
            "w":89,
            "y":"text"
          },
          {
            "d":"min(dCount)",
            "id":"minRowss",
            "location":6,
            "n":"Min Rows/s",
            "pc":0,
            "w":78,
            "y":"text"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"col_2",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":158
          },
          {
            "fg":"gradient(100.0*freeMem/totMem,100,\"#32cd32\",50,\"#FFFF00\",0,\"#ff0000\")",
            "fm":"100.0*freeMem/totMem",
            "id":"col_13",
            "location":1,
            "pc":2,
            "tl":"Free Mem (%)",
            "tp":"numeric",
            "width":104
          },
          {
            "fm":"freeMem/1024/1024",
            "id":"col_3",
            "location":2,
            "pc":0,
            "tl":"Free Mem (MB)",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"maxMem/1024/1024",
            "id":"col_4",
            "location":3,
            "pc":0,
            "tl":"Max Mem (MB)",
            "tp":"numeric",
            "width":98
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totMem/1024/1024",
            "id":"col_5",
            "location":4,
            "pc":0,
            "tl":"Alloc Mem (MB)",
            "tp":"numeric",
            "width":102
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"(totMem-freeMem)/1024/1024",
            "id":"col_12",
            "location":5,
            "pc":0,
            "tl":"Used Mem (MB)",
            "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
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":58
          }
        ],
        "amiPanelId":"main1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT",
          "selCl":"#ead5d5"
        },
        "amiTitle":"Memory Timeline",
        "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":"Memory Timeline"
        },
        "upid":"main1",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "freeMem":"Long",
          "linenum":"Integer",
          "maxMem":"Long",
          "now":"Long",
          "totMem":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"type",
            "id":"col_3",
            "location":1,
            "pc":0,
            "tl":"Table Name",
            "tp":"text",
            "width":189
          },
          {
            "fm":"count",
            "id":"col_4",
            "location":2,
            "pc":0,
            "tl":"Row Count",
            "tp":"numeric",
            "width":74
          },
          {
            "fm":"dCount",
            "id":"rowsAdded",
            "location":3,
            "pc":0,
            "tl":"Rows Change",
            "tp":"numeric",
            "width":91
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_5",
            "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":119
          }
        ],
        "amiPanelId":"main10",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Table Rows Timeline",
        "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":"objectsComp",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_3",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"Table Rows Timeline"
        },
        "upid":"main5",
        "varTypes":{
          "T":"String",
          "count":"Integer",
          "dCount":"Long",
          "linenum":"Integer",
          "now":"Long",
          "type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main11",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebHttpServer",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axMajUnitSz":1.0,
              "axMinorUnitSz":0.0,
              "axNumRotate":-90.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":"formatDate(n,\"HH:mm\",\"EST5EDT\")",
            "formatType":4,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":""
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":"formatNumber(n,\"#,###\",\"\")",
            "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":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":"mainCompare",
            "dmtbid":[
              "AmiWebHttpServer"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.2553191489361701
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.3333333333333333
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.2411347517730495
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":24,
            "w":0.1702127659574468
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"mainCompare",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ef40cf\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ef40cf\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Active Sessions",
                    "tooltip":"hoverDisplay(\"Active Sessions\", now, \"Sessions\", \"\" + activeSessions)",
                    "xPos":"now",
                    "yPos":"activeSessions"
                  }
                ],
                "name":"Active Sessions",
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"mainCompare",
                "id":20,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":19,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#62efc0\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#62efc0\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Http Services",
                    "tooltip":"hoverDisplay(\"Http Services\", now, \"Services\", formatNumber(httpServices, \"#,###\", \"\"))",
                    "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":12,
                "name":"Legend",
                "opac":100,
                "ser":[
                  16,
                  10,
                  14
                ],
                "type":"Legend"
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"mainCompare",
                "id":11,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":10,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Rows",
                    "tooltip":"hoverDisplay(\"User Rows\", now, \"Count\",formatNumber(userRows, \"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"userRows"
                  }
                ],
                "name":"User Rows",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"mainCompare",
                "id":13,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":14,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+3)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Hidden Rows",
                    "tooltip":"hoverDisplay(\"User Hidden Rows\", now, \"Count\", formatNumber(userHiddenRows, \"#,###\",\"\"))",
                    "xPos":"now",
                    "yPos":"userHiddenRows"
                  }
                ],
                "name":"User Hidden Rows",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"mainCompare",
                "id":15,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":16,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#c4e86a\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#c4e86a\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Cached Rows",
                    "tooltip":"hoverDisplay(\"Cached Rows\", now, \"Count\", formatNumber(cachedRows, \"#,###\",\"\"))",
                    "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":"main8"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_3",
            "location":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":163
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"activeConnections",
            "id":"col_8",
            "location":1,
            "pc":0,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":134
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"clientsActive",
            "id":"col_4",
            "location":2,
            "pc":0,
            "tl":"Clients Active",
            "tp":"numeric",
            "width":98
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"clientsIdle",
            "id":"col_5",
            "location":3,
            "pc":0,
            "tl":"Clients Idle",
            "tp":"numeric",
            "width":82
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"stickyCount",
            "id":"col_11",
            "location":4,
            "pc":0,
            "tl":"Sticky Count",
            "tp":"numeric",
            "width":91
          },
          {
            "fm":"serversUp",
            "id":"col_6",
            "location":5,
            "pc":0,
            "tl":"Servers Up",
            "tp":"numeric",
            "width":83
          },
          {
            "fm":"serversDown",
            "id":"col_7",
            "location":6,
            "pc":0,
            "tl":"Servers Down",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totBytesToServers",
            "id":"col_9",
            "location":7,
            "pc":0,
            "tl":"Total Bytes To Servers",
            "tp":"numeric",
            "width":154
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"totBytesToClients",
            "id":"col_10",
            "location":8,
            "pc":0,
            "tl":"Total Bytes To Clients",
            "tp":"numeric",
            "width":154
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"main12",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "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":{
          "activeConnections":"Long",
          "clientsActive":"Integer",
          "clientsIdle":"Integer",
          "now":"Long",
          "serversDown":"Integer",
          "serversUp":"Integer",
          "stickyCount":"Integer",
          "totBytesToClients":"Long",
          "totBytesToServers":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_3",
            "location":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":163
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"activeConnections",
            "id":"col_8",
            "location":1,
            "pc":0,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":134
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"clientsActive",
            "id":"col_4",
            "location":2,
            "pc":0,
            "tl":"Clients Active",
            "tp":"numeric",
            "width":98
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"clientsIdle",
            "id":"col_5",
            "location":3,
            "pc":0,
            "tl":"Clients Idle",
            "tp":"numeric",
            "width":82
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"stickyCount",
            "id":"col_11",
            "location":4,
            "pc":0,
            "tl":"Sticky Count",
            "tp":"numeric",
            "width":91
          },
          {
            "fm":"serversUp",
            "id":"col_6",
            "location":5,
            "pc":0,
            "tl":"Servers Up",
            "tp":"numeric",
            "width":83
          },
          {
            "fm":"serversDown",
            "id":"col_7",
            "location":6,
            "pc":0,
            "tl":"Servers Down",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totBytesToServers",
            "id":"col_9",
            "location":7,
            "pc":0,
            "tl":"Total Bytes To Servers",
            "tp":"numeric",
            "width":154
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"totBytesToClients",
            "id":"col_10",
            "location":8,
            "pc":0,
            "tl":"Total Bytes To Clients",
            "tp":"numeric",
            "width":154
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"main13",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT2"
        },
        "amiTitle":"AmiWebBalancerStats",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"mainCompare",
            "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":"main9",
        "varTypes":{
          "activeConnections":"Long",
          "clientsActive":"Integer",
          "clientsIdle":"Integer",
          "now":"Long",
          "serversDown":"Integer",
          "serversUp":"Integer",
          "stickyCount":"Integer",
          "totBytesToClients":"Long",
          "totBytesToServers":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main16",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterStoredProcs",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime (ms)"
          },
          "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":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"procedures",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.415204678362573
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.502923976608187
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":28,
            "w":0.08187134502923976
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcs",
                "dmadn":"procedures",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcs",
                "dmadn":"procedures",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(runtime, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main16"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main17",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterStoredProcs",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime (ms)"
          },
          "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":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"proceduresComp",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.415204678362573
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.502923976608187
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":28,
            "w":0.08187134502923976
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcs",
                "dmadn":"proceduresComp",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterStoredProcs",
                "dmadn":"proceduresComp",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(runtime, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main17"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main18",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime per Row (ms)"
          },
          "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":"Runtime (ms)"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":12,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"triggers",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.2413793103448276
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.3984674329501916
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.2528735632183907
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":28,
            "w":0.10727969348659003
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggers",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###.000ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggers",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(runtime, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"runtime"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggers",
                "id":15,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ? this.getStyle(\"seriesCls\", __series_num) : \"\""
                    },
                    "descPos":"\"topright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":14,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Total Runtime\",formatNumber(millis, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":12
              }
            ],
            "plotId":13,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main18"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main19",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTriggers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime per Row (ms)"
          },
          "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":"Runtime (ms)"
          },
          "L_2_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":12,
            "fontStyle":"",
            "format":null,
            "formatType":5,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1,
          1
        ],
        "axisRcnts":[
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"triggersComp",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.2413793103448276
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.3984674329501916
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.2528735632183907
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":28,
            "w":0.10727969348659003
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggersComp",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###.000ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggersComp",
                "id":9,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(runtime, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"runtime"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":6
              }
            ],
            "plotId":7,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_2":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTriggers",
                "dmadn":"triggersComp",
                "id":15,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"now == max(now) ? this.getStyle(\"seriesCls\", __series_num) : \"\""
                    },
                    "descPos":"\"topright\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":14,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(name,now,\"Total Runtime\",formatNumber(millis, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":12
              }
            ],
            "plotId":13,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":3,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main19"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"col_2",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":158
          },
          {
            "fg":"gradient(100.0*freeMem/totMem,100,\"#32cd32\",50,\"#FFFF00\",0,\"#ff0000\")",
            "fm":"100.0*freeMem/totMem",
            "id":"col_13",
            "location":1,
            "pc":2,
            "tl":"Free Mem (%)",
            "tp":"numeric",
            "width":104
          },
          {
            "fm":"freeMem/1024/1024",
            "id":"col_3",
            "location":2,
            "pc":0,
            "tl":"Free Mem (MB)",
            "tp":"numeric",
            "width":101
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"maxMem/1024/1024",
            "id":"col_4",
            "location":3,
            "pc":0,
            "tl":"Max Mem (MB)",
            "tp":"numeric",
            "width":98
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"totMem/1024/1024",
            "id":"col_5",
            "location":4,
            "pc":0,
            "tl":"Alloc Mem (MB)",
            "tp":"numeric",
            "width":102
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"(totMem-freeMem)/1024/1024",
            "id":"col_12",
            "location":5,
            "pc":0,
            "tl":"Used Mem (MB)",
            "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
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_1",
            "pc":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":58
          }
        ],
        "amiPanelId":"main2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT",
          "selCl":"#ead5d5"
        },
        "amiTitle":"Memory Timeline",
        "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":"mainCompare",
            "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":"Memory Timeline"
        },
        "upid":"main2",
        "varTypes":{
          "T":"String",
          "cmd":"String",
          "freeMem":"Long",
          "linenum":"Integer",
          "maxMem":"Long",
          "now":"Long",
          "totMem":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main20",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTimers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime (ms)"
          },
          "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":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"timers",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.367816091954023
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.4597701149425286
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":30,
            "w":0.1724137931034483
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimers",
                "dmadn":"timers",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"TotalRunTime",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimers",
                "dmadn":"timers",
                "id":8,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":7,
                    "lineColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Diff",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(millis, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Diff",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":5
              }
            ],
            "plotId":6,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main20"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main21",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterObjects",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "L_0_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":"Row Rate (s)"
          },
          "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":"Row Count"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"objects",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":-1,
            "w":1.4609494640122513
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":-1,
            "w":1.433384379785605
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":23,
            "w":0.10566615620214397
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"objects",
                "id":11,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"dCount == max(dCount) ? cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ):\"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":10,
                    "line2Color":{
                      "type":"const",
                      "value":"\"#6cbcde\""
                    },
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Rate\", formatNumber(dCount, \"#,### rows/s\",\"\"))",
                    "where":"type !~ \"^__\"",
                    "xPos":"now",
                    "yPos":"dCount"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":12,
                "name":"Legend",
                "opac":100,
                "ser":[
                  10
                ],
                "type":"Legend"
              }
            ],
            "plotId":9,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"objects",
                "id":0,
                "layers":[
                  {
                    "descPos":"\"top\"",
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Row Count\", formatNumber(count, \"#,###\",\"\"))",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"AmiCenterObjects"
        },
        "upid":"main21"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main22",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterTimers",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumPd":4.0,
              "axNumRotate":-90.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":"Runtime (ms)"
          },
          "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":"Total Runtime (ms)"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"timersComp",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.367816091954023
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":-1,
            "w":1.4597701149425286
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":69,
                "w":0.12742382271468145
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8725761772853184
              }
            ],
            "p":30,
            "w":0.1724137931034483
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimers",
                "dmadn":"timersComp",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"TotalRunTime",
                    "tooltip":"hoverDisplay(name,now,\"Time/Action\",formatNumber(timeForAction, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"timeForAction"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterTimers",
                "dmadn":"timersComp",
                "id":8,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":7,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"name",
                    "seriesName":"Diff",
                    "tooltip":"hoverDisplay(name,now,\"Runtime\",formatNumber(millis, \"#,###ms\", \"\"))",
                    "xPos":"now",
                    "yPos":"millis"
                  }
                ],
                "name":"Diff",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":5
              }
            ],
            "plotId":6,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"Chart"
        },
        "upid":"main23"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main24",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiCenterObjects",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "L_0_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":"Row Rate (s)"
          },
          "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":"Row Count"
          }
        },
        "axisLcnts":[
          1,
          1
        ],
        "axisRcnts":[
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"objectsComp",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":-1,
            "w":1.4609494640122513
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":-1,
            "w":1.433384379785605
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":83,
                "w":0.25075528700906347
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.7492447129909365
              }
            ],
            "p":23,
            "w":0.10566615620214397
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"objectsComp",
                "id":11,
                "layers":[
                  {
                    "descColor":{
                      "type":"custom",
                      "value":"dCount == max(dCount) ? cycle(__series_num,\"#ff303e\",\"#ff7530\",\"#30ff6e\",\"#30f8ff\",\"#30b3ff\",\"#d229db\",\"#ff3098\",\"#ffc637\",\"#ffe49e\",\"#ff94c9\",\"#94d8ff\",\"#94fbff\",\"#94ffb4\",\"#ffb894\",\"#ff949b\",\"#e481ea\" ):\"\""
                    },
                    "descPos":"\"top\"",
                    "descSz":"12",
                    "editorType":"2dAdv",
                    "id":10,
                    "line2Color":{
                      "type":"const",
                      "value":"\"#6cbcde\""
                    },
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Rate\", formatNumber(dCount, \"#,### rows/s\",\"\"))",
                    "where":"type !~ \"^__\"",
                    "xPos":"now",
                    "yPos":"dCount"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":8
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":12,
                "name":"Legend",
                "opac":100,
                "ser":[
                  10
                ],
                "type":"Legend"
              }
            ],
            "plotId":9,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          },
          "0_1":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiCenterObjects",
                "dmadn":"objectsComp",
                "id":0,
                "layers":[
                  {
                    "descPos":"\"top\"",
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"getLineColor(__series_num)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"getMarkerColor(__series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"type",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(type, now, \"Row Count\", formatNumber(count, \"#,###\",\"\"))",
                    "where":"type !~ \"__\"",
                    "xPos":"now",
                    "yPos":"count"
                  }
                ],
                "name":"Layer",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              }
            ],
            "plotId":1,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":2,
        "titlePnl":{
          "title":"AmiCenterObjects"
        },
        "upid":"main22"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main29",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerStats",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":"Summary"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":21,
            "fontStyle":"",
            "format":"formatNumberCompact(n/1024.0/1024.0)",
            "formatType":4,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Data Sent (MB)"
          },
          "L_2_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_3_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
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiWebBalancerStats",
              "AmiWebBalancerServer",
              "AmiWebBalancerClient"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":0.9452296819787986
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.4487632508833923
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.1395759717314489
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.1219081272084805
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":39,
            "w":0.34452296819787986
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "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\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Active Connections",
                    "tooltip":"hoverDisplay(\"Active Connections\", now, \"Count\", \"\" + activeConnections)",
                    "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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+1)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Clients Active",
                    "tooltip":"hoverDisplay(\"Clients Active\", now, \"Count\", \"\" + clientsActive)",
                    "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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+2)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Clients Idle",
                    "tooltip":"hoverDisplay(\"Clients Idle\", now, \"Count\", \"\" + clientsIdle)",
                    "xPos":"now",
                    "yPos":"clientsIdle"
                  }
                ],
                "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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+3)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Sticky Count",
                    "tooltip":"hoverDisplay(\"Sticky Count\", now, \"Count\", \"\" + stickyCount)",
                    "xPos":"now",
                    "yPos":"stickyCount"
                  }
                ],
                "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":"#1d1f31",
            "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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Data To Clients",
                    "tooltip":"hoverDisplay(\"Data to Clients\", now, \"Data\", formatNumber(totBytesToClients/1024.0/1024, \"#,### MB\", \"\"))",
                    "xPos":"now",
                    "yPos":"totBytesToClients"
                  }
                ],
                "name":"Data 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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +1"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Data To Servers",
                    "tooltip":"hoverDisplay(\"Data to Servers\", now, \"Data\", formatNumber(totBytesToServers/1024.0/1024, \"#,### MB\", \"\"))",
                    "xPos":"now",
                    "yPos":"totBytesToServers"
                  }
                ],
                "name":"Data 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_2":{
            "bgColor":"#1d1f31",
            "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\"",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"address",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(address, now, \"Active Sessions\",formatNumber(activeSessions, \"#,###\", \"\"))",
                    "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_3":{
            "bgColor":"#1d1f31",
            "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\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Client Connections",
                    "tooltip":"hoverDisplay(\"Client Connections\", now, \"Connections\", \"\" + connections)",
                    "xPos":"now",
                    "yPos":"connections"
                  }
                ],
                "name":"Client Connections",
                "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":4,
        "titlePnl":{
          "title":"AmiWebBalancerStats"
        },
        "upid":"main25"
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "amiPanelId":"main3",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Objects Stats",
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "formulas":[
          {
            "d":"type",
            "f":"type",
            "id":"type",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":200,
        "titlePnl":{
          "title":"Objects Stats"
        },
        "upid":"main3",
        "varTypes":{
          "count":"Long",
          "dCount":"Long",
          "type":"String"
        },
        "vcols":[
          {
            "d":"avg(count)",
            "id":"avgRows",
            "location":1,
            "n":"Avg Rows",
            "pc":0,
            "w":74,
            "y":"numeric"
          },
          {
            "d":"max(count)",
            "id":"count2",
            "location":2,
            "n":"Max Rows",
            "pc":0,
            "w":77,
            "y":"numeric"
          },
          {
            "d":"min(count)",
            "id":"minRows",
            "location":3,
            "n":"Min Rows",
            "pc":0,
            "w":74,
            "y":"text"
          },
          {
            "d":"avg(dCount)",
            "id":"dCount",
            "location":4,
            "n":"Avg Rows/s",
            "pc":0,
            "w":80,
            "y":"numeric"
          },
          {
            "d":"max(dCount)",
            "id":"maxRowss",
            "location":5,
            "n":"Max Rows/s",
            "pc":0,
            "w":89,
            "y":"text"
          },
          {
            "d":"min(dCount)",
            "id":"minRowss",
            "location":6,
            "n":"Min Rows/s",
            "pc":0,
            "w":78,
            "y":"text"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"Avg Runtime (ms)",
            "type":"des"
          }
        ],
        "amiPanelId":"main30",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Timers",
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":259,
        "titlePnl":{
          "title":"Timers"
        },
        "upid":"main30",
        "varTypes":{
          "name":"String",
          "runtime":"Long"
        },
        "vcols":[
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":1,
            "n":"Avg Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":2,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":3,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"",
            "type":"asc"
          }
        ],
        "amiPanelId":"main31",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Messages",
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":184,
        "titlePnl":{
          "title":"Messages"
        },
        "upid":"main31",
        "varTypes":{
          "dAdded":"Double",
          "name":"String",
          "processed":"Long",
          "queued":"Long",
          "totExecTime":"Long"
        },
        "vcols":[
          {
            "d":"max(queued)",
            "id":"maxQueued",
            "location":1,
            "n":"Max. Queued",
            "pc":0,
            "w":86,
            "y":"text"
          },
          {
            "d":"avg(queued)",
            "id":"queued",
            "location":2,
            "n":"Avg. Queued",
            "pc":0,
            "w":81,
            "y":"numeric"
          },
          {
            "d":"avg(dAdded)",
            "id":"maxQueued2",
            "location":3,
            "n":"Avg Msgs/s",
            "pc":2,
            "w":72,
            "y":"numeric"
          },
          {
            "d":"max(dAdded)",
            "id":"added",
            "location":4,
            "n":"Max. Msgs/s",
            "pc":0,
            "w":80,
            "y":"numeric"
          },
          {
            "d":"max(processed)",
            "id":"processed",
            "location":5,
            "n":"Cum. Processed",
            "pc":0,
            "w":100,
            "y":"numeric"
          },
          {
            "d":"avg(totExecTime)",
            "id":"execs",
            "location":6,
            "n":"Avg. Exec. Time",
            "pc":0,
            "w":100,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"",
            "type":"asc"
          }
        ],
        "amiPanelId":"main32",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Messages",
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":184,
        "titlePnl":{
          "title":"Messages"
        },
        "upid":"main32",
        "varTypes":{
          "dAdded":"Double",
          "name":"String",
          "processed":"Long",
          "queued":"Long",
          "totExecTime":"Long"
        },
        "vcols":[
          {
            "d":"max(queued)",
            "id":"maxQueued",
            "location":1,
            "n":"Max. Queued",
            "pc":0,
            "w":86,
            "y":"text"
          },
          {
            "d":"avg(queued)",
            "id":"queued",
            "location":2,
            "n":"Avg. Queued",
            "pc":0,
            "w":81,
            "y":"numeric"
          },
          {
            "d":"avg(dAdded)",
            "id":"maxQueued2",
            "location":3,
            "n":"Avg Msgs/s",
            "pc":2,
            "w":72,
            "y":"numeric"
          },
          {
            "d":"max(dAdded)",
            "id":"added",
            "location":4,
            "n":"Max. Msgs/s",
            "pc":0,
            "w":80,
            "y":"numeric"
          },
          {
            "d":"max(processed)",
            "id":"processed",
            "location":5,
            "n":"Cum. Processed",
            "pc":0,
            "w":100,
            "y":"numeric"
          },
          {
            "d":"avg(totExecTime)",
            "id":"execs",
            "location":6,
            "n":"Avg. Exec. Time",
            "pc":0,
            "w":100,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "amiPanelId":"main33",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Procedures",
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":430,
        "titlePnl":{
          "title":"Procedures"
        },
        "upid":"main33",
        "varTypes":{
          "name":"String",
          "runtime":"Long"
        },
        "vcols":[
          {
            "d":"count(*)",
            "id":"execCount",
            "location":1,
            "n":"Exec Count",
            "pc":0,
            "w":77,
            "y":"numeric"
          },
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":2,
            "n":"Avg Runtime (ms)",
            "pc":2,
            "s":"\"right\"",
            "w":113,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":3,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":4,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"Avg Runtime (ms)",
            "type":"des"
          }
        ],
        "amiPanelId":"main34",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Triggers",
        "dm":[
          {
            "dmadn":"main",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":490,
        "titlePnl":{
          "title":"Triggers"
        },
        "upid":"main34",
        "varTypes":{
          "millis":"Long",
          "name":"String",
          "runtime":"Long",
          "timeForAction":"Double"
        },
        "vcols":[
          {
            "d":"count(*)",
            "hs":"\"right\"",
            "id":"execCount",
            "location":1,
            "n":"Exec Count",
            "pc":0,
            "s":"\"right\"",
            "w":71,
            "y":"numeric"
          },
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":2,
            "n":"Avg Runtime (ms)",
            "pc":2,
            "s":"\"right\"",
            "w":113,
            "y":"numeric"
          },
          {
            "d":"avg(timeForAction)",
            "id":"timeForAction",
            "location":3,
            "n":"Avg Runtime/Row (ms)",
            "s":"\"right\"",
            "w":139,
            "y":"numeric"
          },
          {
            "d":"max(millis)",
            "id":"runtime2",
            "location":4,
            "n":"Tot Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":100,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":5,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":6,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"Avg Runtime (ms)",
            "type":"des"
          }
        ],
        "amiPanelId":"main35",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Timers",
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":259,
        "titlePnl":{
          "title":"Timers"
        },
        "upid":"main35",
        "varTypes":{
          "name":"String",
          "runtime":"Long"
        },
        "vcols":[
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":1,
            "n":"Avg Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":2,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":3,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "amiPanelId":"main36",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Procedures",
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":204,
        "titlePnl":{
          "title":"Procedures"
        },
        "upid":"main36",
        "varTypes":{
          "name":"String",
          "runtime":"Long"
        },
        "vcols":[
          {
            "d":"count(*)",
            "id":"execCount",
            "location":1,
            "n":"Exec Count",
            "pc":0,
            "w":77,
            "y":"numeric"
          },
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":2,
            "n":"Avg Runtime (ms)",
            "pc":2,
            "s":"\"right\"",
            "w":113,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":3,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":4,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amitree",
      "portletConfig":{
        "Sorting":[
          {
            "name":"Avg Runtime (ms)",
            "type":"des"
          }
        ],
        "amiPanelId":"main37",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Triggers",
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "formulas":[
          {
            "d":"name",
            "f":"name",
            "id":"name",
            "l":false
          }
        ],
        "hcols":[
        ],
        "pins":1,
        "rn":null,
        "tcolw":191,
        "titlePnl":{
          "title":"Triggers"
        },
        "upid":"main37",
        "varTypes":{
          "millis":"Long",
          "name":"String",
          "runtime":"Long",
          "timeForAction":"Double"
        },
        "vcols":[
          {
            "d":"count(*)",
            "hs":"\"right\"",
            "id":"execCount",
            "location":1,
            "n":"Exec Count",
            "pc":0,
            "s":"\"right\"",
            "w":71,
            "y":"numeric"
          },
          {
            "d":"avg(runtime)",
            "id":"avgRuntimems",
            "location":2,
            "n":"Avg Runtime (ms)",
            "pc":2,
            "s":"\"right\"",
            "w":113,
            "y":"numeric"
          },
          {
            "d":"avg(timeForAction)",
            "id":"timeForAction",
            "location":3,
            "n":"Avg Runtime/Row (ms)",
            "s":"\"right\"",
            "w":139,
            "y":"numeric"
          },
          {
            "d":"max(millis)",
            "id":"runtime2",
            "location":4,
            "n":"Tot Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":100,
            "y":"numeric"
          },
          {
            "d":"max(runtime)",
            "id":"runtime",
            "location":5,
            "n":"Max Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":112,
            "y":"numeric"
          },
          {
            "d":"min(runtime)",
            "id":"runtime1",
            "location":6,
            "n":"Min Runtime (ms)",
            "pc":0,
            "s":"\"right\"",
            "w":108,
            "y":"numeric"
          }
        ]
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main38",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebBalancerStats",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":"Summary"
          },
          "L_1_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":21,
            "fontStyle":"",
            "format":"formatNumberCompact(n/1024.0/1024.0)",
            "formatType":4,
            "isGroupOrdered":true,
            "orientation":"R",
            "reverse":true,
            "title":"Total Data Sent (MB)"
          },
          "L_2_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_3_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
        ],
        "axisRcnts":[
          0,
          0,
          0,
          0
        ],
        "axisTcnts":[
          0
        ],
        "colsCount":1,
        "dm":[
          {
            "dmadn":"mainCompare",
            "dmtbid":[
              "AmiWebBalancerStats",
              "AmiWebBalancerServer",
              "AmiWebBalancerClient"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":0.9452296819787986
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.4487632508833923
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.1395759717314489
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":-1,
            "w":1.1219081272084805
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":86,
                "w":0.1588180978762696
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8411819021237303
              }
            ],
            "p":39,
            "w":0.34452296819787986
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Active Connections",
                    "tooltip":"hoverDisplay(\"Active Connections\", now, \"Count\", \"\" + activeConnections)",
                    "xPos":"now",
                    "yPos":"activeConnections"
                  }
                ],
                "name":"Active Connections",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":7,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":8,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+1)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Clients Active",
                    "tooltip":"hoverDisplay(\"Clients Active\", now, \"Count\", \"\" + clientsActive)",
                    "xPos":"now",
                    "yPos":"clientsActive"
                  }
                ],
                "name":"Clients Active",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":10,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":11,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+2),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+2)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Clients Idle",
                    "tooltip":"hoverDisplay(\"Clients Idle\", now, \"Count\", \"\" + clientsIdle)",
                    "xPos":"now",
                    "yPos":"clientsIdle"
                  }
                ],
                "name":"Clients Idle",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":2
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":12,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":13,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+3),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+3)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Sticky Count",
                    "tooltip":"hoverDisplay(\"Sticky Count\", now, \"Count\", \"\" + stickyCount)",
                    "xPos":"now",
                    "yPos":"stickyCount"
                  }
                ],
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":24,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":23,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Data To Clients",
                    "tooltip":"hoverDisplay(\"Data to Clients\", now, \"Data\", formatNumber(totBytesToClients/1024.0/1024, \"#,### MB\", \"\"))",
                    "xPos":"now",
                    "yPos":"totBytesToClients"
                  }
                ],
                "name":"Data To Clients",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":21
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerStats",
                "dmadn":"mainCompare",
                "id":26,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":25,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num+1),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num +1"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Data To Servers",
                    "tooltip":"hoverDisplay(\"Data to Servers\", now, \"Data\", formatNumber(totBytesToServers/1024.0/1024, \"#,### MB\", \"\"))",
                    "xPos":"now",
                    "yPos":"totBytesToServers"
                  }
                ],
                "name":"Data 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_2":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerServer",
                "dmadn":"mainCompare",
                "id":31,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":30,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "name":"address",
                    "seriesName":"Layer",
                    "tooltip":"hoverDisplay(address, now, \"Active Sessions\",formatNumber(activeSessions, \"#,###\", \"\"))",
                    "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_3":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebBalancerClient",
                "dmadn":"mainCompare",
                "id":36,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":35,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(this.getStyle(\"seriesCls\", __series_num),-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"horizontal\"",
                    "mBorderSize":"0",
                    "mColor":{
                      "type":"series",
                      "value":"__series_num"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Client Connections",
                    "tooltip":"hoverDisplay(\"Client Connections\", now, \"Connections\", \"\" + connections)",
                    "xPos":"now",
                    "yPos":"connections"
                  }
                ],
                "name":"Client Connections",
                "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":4,
        "titlePnl":{
          "title":"AmiWebBalancerStats"
        },
        "upid":"main26"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"type",
            "id":"col_3",
            "location":1,
            "pc":0,
            "tl":"Table Name",
            "tp":"text",
            "width":189
          },
          {
            "fm":"count",
            "id":"col_4",
            "location":2,
            "pc":0,
            "tl":"Row Count",
            "tp":"numeric",
            "width":74
          },
          {
            "fm":"dCount",
            "id":"rowsAdded",
            "location":3,
            "pc":0,
            "tl":"Rows Change",
            "tp":"numeric",
            "width":91
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "id":"col_5",
            "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":119
          }
        ],
        "amiPanelId":"main4",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Table Rows Timeline",
        "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":"objects",
            "dmtbid":[
              "AmiCenterObjects"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "sorting":[
          {
            "id":"col_3",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"Table Rows Timeline"
        },
        "upid":"main4",
        "varTypes":{
          "T":"String",
          "count":"Integer",
          "dCount":"Long",
          "linenum":"Integer",
          "now":"Long",
          "type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "bg":"\"#cedae2\"",
            "ei":"",
            "eof":"",
            "fg":"\"#000000\"",
            "fm":"T",
            "fw":false,
            "id":"col_2",
            "lnd":0,
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":125
          },
          {
            "ei":"",
            "eof":"",
            "fm":"now",
            "fw":false,
            "id":"col_3",
            "lnd":0,
            "location":1,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#30b3ff\"",
            "fm":"activeSessions",
            "fw":false,
            "id":"col_4",
            "lnd":0,
            "location":2,
            "tl":"Active Sessions",
            "tp":"numeric",
            "width":101
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ff7530\"",
            "fm":"activeConnections",
            "fw":false,
            "id":"col_6",
            "lnd":0,
            "location":3,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":121
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#cb28d3\"",
            "fm":"httpServices",
            "fw":false,
            "id":"col_5",
            "lnd":0,
            "location":4,
            "tl":"Http Services",
            "tp":"numeric",
            "width":87
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ff303e\"",
            "fm":"userRows",
            "fw":false,
            "id":"col_7",
            "lnd":0,
            "location":5,
            "tl":"User Rows",
            "tp":"numeric",
            "width":93
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ffc637\"",
            "fm":"userHiddenRows",
            "fw":false,
            "id":"col_8",
            "lnd":0,
            "location":6,
            "tl":"User Hidden Rows",
            "tp":"numeric",
            "width":118
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#30ff6e\"",
            "fm":"cachedRows",
            "fw":false,
            "id":"col_9",
            "lnd":0,
            "location":7,
            "tl":"Cached Rows",
            "tp":"numeric",
            "width":90
          },
          {
            "ei":"",
            "eof":"",
            "fm":"centersConnected",
            "fw":false,
            "id":"col_10",
            "lnd":0,
            "location":8,
            "tl":"Centers Connected",
            "tp":"numeric",
            "width":121
          },
          {
            "ei":"",
            "eof":"",
            "fm":"openedConnections",
            "fw":false,
            "id":"col_11",
            "lnd":0,
            "location":9,
            "tl":"Opened Connections",
            "tp":"numeric",
            "width":132
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "fw":false,
            "id":"col_0",
            "lnd":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":65
          },
          {
            "fm":"cmd",
            "fw":false,
            "id":"col_1",
            "lnd":0,
            "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":"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":"active Sessions"
          },
          "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":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"main7",
        "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\"",
            "ei":"",
            "eof":"",
            "fg":"\"#000000\"",
            "fm":"T",
            "fw":false,
            "id":"col_2",
            "lnd":0,
            "location":0,
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":125
          },
          {
            "ei":"",
            "eof":"",
            "fm":"now",
            "fw":false,
            "id":"col_3",
            "lnd":0,
            "location":1,
            "sy":"\"Time New Roman\"",
            "tl":"Now",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#30b3ff\"",
            "fm":"activeSessions",
            "fw":false,
            "id":"col_4",
            "lnd":0,
            "location":2,
            "tl":"Active Sessions",
            "tp":"numeric",
            "width":101
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ff7530\"",
            "fm":"activeConnections",
            "fw":false,
            "id":"col_6",
            "lnd":0,
            "location":3,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":121
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#cb28d3\"",
            "fm":"httpServices",
            "fw":false,
            "id":"col_5",
            "lnd":0,
            "location":4,
            "tl":"Http Services",
            "tp":"numeric",
            "width":87
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ff303e\"",
            "fm":"userRows",
            "fw":false,
            "id":"col_7",
            "lnd":0,
            "location":5,
            "tl":"User Rows",
            "tp":"numeric",
            "width":93
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#ffc637\"",
            "fm":"userHiddenRows",
            "fw":false,
            "id":"col_8",
            "lnd":0,
            "location":6,
            "tl":"User Hidden Rows",
            "tp":"numeric",
            "width":118
          },
          {
            "ei":"",
            "eof":"",
            "fg":"\"#30ff6e\"",
            "fm":"cachedRows",
            "fw":false,
            "id":"col_9",
            "lnd":0,
            "location":7,
            "tl":"Cached Rows",
            "tp":"numeric",
            "width":90
          },
          {
            "ei":"",
            "eof":"",
            "fm":"centersConnected",
            "fw":false,
            "id":"col_10",
            "lnd":0,
            "location":8,
            "tl":"Centers Connected",
            "tp":"numeric",
            "width":121
          },
          {
            "ei":"",
            "eof":"",
            "fm":"openedConnections",
            "fw":false,
            "id":"col_11",
            "lnd":0,
            "location":9,
            "tl":"Opened Connections",
            "tp":"numeric",
            "width":132
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"linenum",
            "fw":false,
            "id":"col_0",
            "lnd":0,
            "tl":"Linenum",
            "tp":"numeric",
            "width":65
          },
          {
            "fm":"cmd",
            "fw":false,
            "id":"col_1",
            "lnd":0,
            "tl":"Cmd",
            "tp":"text",
            "width":40
          }
        ],
        "amiPanelId":"main8",
        "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":"main9",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"AmiWebHttpServer",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axMajUnitSz":1.0,
              "axMinorUnitSz":0.0,
              "axNumRotate":-90.0,
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":3,
            "fontStyle":"",
            "format":"formatDate(n,\"HH:mm\",\"EST5EDT\")",
            "formatType":4,
            "isGroupOrdered":true,
            "orientation":"T",
            "reverse":false,
            "title":""
          },
          "L_0_0":{
            "amiStyle":{
              "pt":"LAYOUT_DEFAULT"
            },
            "autoMajorValue":true,
            "autoMaxValue":true,
            "autoMinValue":true,
            "autoMinorValue":true,
            "axisId":2,
            "fontStyle":"",
            "format":"formatNumber(n,\"#,###\",\"\")",
            "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":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":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.2553191489361701
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.3333333333333333
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":-1,
            "w":1.2411347517730495
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":77,
                "w":0.10672210672210672
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.8932778932778933
              }
            ],
            "p":24,
            "w":0.1702127659574468
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":0,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":4,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ef40cf\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ef40cf\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Active Sessions",
                    "tooltip":"hoverDisplay(\"Active Sessions\", now, \"Sessions\", \"\" + activeSessions)",
                    "xPos":"now",
                    "yPos":"activeSessions"
                  }
                ],
                "name":"Active Sessions",
                "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":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"AmiWebHttpServer",
                "dmadn":"main",
                "id":20,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":19,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#62efc0\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#62efc0\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Http Services",
                    "tooltip":"hoverDisplay(\"Http Services\", now, \"Services\", formatNumber(httpServices, \"#,###\", \"\"))",
                    "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":"#1d1f31",
            "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(\"#ff303e\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Rows",
                    "tooltip":"hoverDisplay(\"User Rows\", now, \"Count\",formatNumber(userRows, \"#,###\",\"\"))",
                    "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",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"this.getStyle(\"seriesCls\", __series_num+3)"
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"User Hidden Rows",
                    "tooltip":"hoverDisplay(\"User Hidden Rows\", now, \"Count\", formatNumber(userHiddenRows, \"#,###\",\"\"))",
                    "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(\"#c4e86a\",-0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"const",
                      "value":"\"#c4e86a\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"Cached Rows",
                    "tooltip":"hoverDisplay(\"Cached Rows\", now, \"Count\", formatNumber(cachedRows, \"#,###\",\"\"))",
                    "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":[
          {
            "fm":"now",
            "id":"now",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":113
          },
          {
            "fm":"added",
            "id":"added",
            "location":2,
            "pc":0,
            "tl":"Added",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"processed",
            "id":"processed",
            "location":3,
            "pc":0,
            "tl":"Processed",
            "tp":"numeric",
            "width":71
          },
          {
            "fm":"queued",
            "id":"queued",
            "location":4,
            "pc":0,
            "tl":"Queued",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"totExecTime",
            "id":"totExecTime",
            "location":5,
            "tl":"Tot Exec Time (ms)",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"execs",
            "id":"execs",
            "location":6,
            "pc":0,
            "tl":"Execs",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"dProcessed",
            "id":"dProcessed",
            "location":7,
            "tl":"d Processed",
            "tp":"numeric",
            "width":82
          },
          {
            "fm":"dAdded",
            "id":"dAdded",
            "location":8,
            "tl":"d Added",
            "tp":"numeric",
            "width":58
          },
          {
            "fm":"dQueued",
            "id":"dQueued",
            "location":9,
            "tl":"d Queued",
            "tp":"numeric",
            "width":67
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"startTime",
            "id":"startTime",
            "tl":"start Time",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "fm":"dTime",
            "id":"dTime",
            "tl":"d Time",
            "tp":"datetime_sec",
            "width":129
          }
        ],
        "amiPanelId":"messages",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Messages Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"messages",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Messages Timeline"
        },
        "upid":"messages",
        "varTypes":{
          "added":"Long",
          "dAdded":"Double",
          "dProcessed":"Double",
          "dQueued":"Double",
          "dTime":"Long",
          "execs":"Long",
          "name":"String",
          "now":"Long",
          "processed":"Long",
          "queued":"Long",
          "startTime":"Long",
          "totExecTime":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"now",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":113
          },
          {
            "fm":"added",
            "id":"added",
            "location":2,
            "pc":0,
            "tl":"Added",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"processed",
            "id":"processed",
            "location":3,
            "pc":0,
            "tl":"Processed",
            "tp":"numeric",
            "width":71
          },
          {
            "fm":"queued",
            "id":"queued",
            "location":4,
            "pc":0,
            "tl":"Queued",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"totExecTime",
            "id":"totExecTime",
            "location":5,
            "tl":"Tot Exec Time (ms)",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"execs",
            "id":"execs",
            "location":6,
            "pc":0,
            "tl":"Execs",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"dProcessed",
            "id":"dProcessed",
            "location":7,
            "tl":"d Processed",
            "tp":"numeric",
            "width":82
          },
          {
            "fm":"dAdded",
            "id":"dAdded",
            "location":8,
            "tl":"d Added",
            "tp":"numeric",
            "width":58
          },
          {
            "fm":"dQueued",
            "id":"dQueued",
            "location":9,
            "tl":"d Queued",
            "tp":"numeric",
            "width":67
          },
          {
            "id":"D",
            "width":100
          },
          {
            "fm":"startTime",
            "id":"startTime",
            "tl":"start Time",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "fm":"dTime",
            "id":"dTime",
            "tl":"d Time",
            "tp":"datetime_sec",
            "width":129
          }
        ],
        "amiPanelId":"messages1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Messages Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"messages",
            "dmtbid":[
              "tPartition"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Messages Timeline"
        },
        "upid":"messages1",
        "varTypes":{
          "added":"Long",
          "dAdded":"Double",
          "dProcessed":"Double",
          "dQueued":"Double",
          "dTime":"Long",
          "execs":"Long",
          "name":"String",
          "now":"Long",
          "processed":"Long",
          "queued":"Long",
          "startTime":"Long",
          "totExecTime":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":148
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "fm":"dCount",
            "id":"dCount",
            "location":4,
            "pc":0,
            "tl":"Actions",
            "tp":"numeric",
            "width":52
          },
          {
            "fm":"timeForAction",
            "id":"timeForAction",
            "location":5,
            "pc":2,
            "tl":"Millis per Action",
            "tp":"numeric",
            "width":101
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"procBlender",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Procedures Timelines",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"procedures",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Procedures Timelines"
        },
        "upid":"procBlender",
        "varTypes":{
          "dCount":"Long",
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long",
          "timeForAction":"Double"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":195
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "fm":"timeForAction",
            "id":"timeForAction",
            "location":4,
            "pc":3,
            "tl":"ms/Row",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"dCount",
            "id":"dCount",
            "location":5,
            "pc":0,
            "tl":"Rows",
            "tp":"numeric",
            "width":49
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"procBlender1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Triggers Timelines",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"triggers",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Triggers Timelines"
        },
        "upid":"procBlender1",
        "varTypes":{
          "dCount":"Long",
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long",
          "timeForAction":"Double"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":148
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "fm":"dCount",
            "id":"dCount",
            "location":4,
            "pc":0,
            "tl":"Actions",
            "tp":"numeric",
            "width":52
          },
          {
            "fm":"timeForAction",
            "id":"timeForAction",
            "location":5,
            "pc":2,
            "tl":"Millis per Action",
            "tp":"numeric",
            "width":101
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"procBlender2",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Procedures Timelines",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"proceduresComp",
            "dmtbid":[
              "AmiCenterStoredProcs"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Procedures Timelines"
        },
        "upid":"procBlender2",
        "varTypes":{
          "dCount":"Long",
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long",
          "timeForAction":"Double"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "pc":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":195
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "fm":"timeForAction",
            "id":"timeForAction",
            "location":4,
            "pc":3,
            "tl":"ms/Row",
            "tp":"numeric",
            "width":56
          },
          {
            "fm":"dCount",
            "id":"dCount",
            "location":5,
            "pc":0,
            "tl":"Rows",
            "tp":"numeric",
            "width":49
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"procBlender3",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Triggers Timelines",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"triggersComp",
            "dmtbid":[
              "AmiCenterTriggers"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Triggers Timelines"
        },
        "upid":"procBlender3",
        "varTypes":{
          "dCount":"Long",
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long",
          "timeForAction":"Double"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"Type",
            "id":"Type",
            "location":0,
            "tl":"Type",
            "tp":"text",
            "width":143
          },
          {
            "fm":"Avg",
            "id":"Avg",
            "location":1,
            "tl":"Avg",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"Max",
            "id":"Max",
            "location":2,
            "pc":0,
            "tl":"Max",
            "tp":"numeric",
            "width":40
          },
          {
            "fm":"Min",
            "id":"Min",
            "location":3,
            "pc":0,
            "tl":"Min",
            "tp":"numeric",
            "width":40
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"threads",
        "amiStyle":{
          "columnFilterHide":true,
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Thread Stats",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "List layers = threadsChart.getPlot(0,0).getLayers();\n",
                "List types = this.asTable(\"\",new Set(\"Type\")).toList(\"Type\");\n",
                "List selected = this.getSelectedRows().size() == 0 ? types : this.asTable(\"SELECTED\", NULL).toList(\"Type\");\n",
                "List colors = new List(\"#30ff6e\", \"#30b3ff\", \"#ff7530\", \"#d229db\", \"#ff303e\");\n",
                "  \n",
                "for(int i = 0; i < types.size(); i++){\n",
                "  Boolean typeSel = selected.contains(types.get(i));\n",
                "  ChartPanelLayer l = layers.get(i);\n",
                "  l.setFormula(\"lineSize\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mWidth\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mHeight\", typeSel ? \"2\":\"0\");\n",
                "}\n",
                "selected.splice(0,0,\"Time\");\n",
                "\n",
                "threadsTable.setVisibleColumns(selected);"
              ],
              "limit":-1,
              "linkedVariables":[
                {
                  "ari":"PANEL:threadsChart",
                  "varName":"threadsChart"
                },
                {
                  "ari":"PANEL:threadsTable",
                  "varName":"threadsTable"
                }
              ],
              "name":"onSelected"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"threads",
            "dmtbid":[
              "threadStats"
            ]
          }
        ],
        "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":"Thread Stats"
        },
        "upid":"threads",
        "varTypes":{
          "Avg":"Double",
          "Max":"Integer",
          "Min":"Integer",
          "Type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"threadsChart",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Threads",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "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":"threads",
            "dmtbid":[
              "Process"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":64,
                "w":0.07901234567901234
              },
              {
                "p":-1,
                "w":1.9209876543209876
              }
            ],
            "p":-1,
            "w":1.908783783783784
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":64,
                "w":0.07901234567901234
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9209876543209876
              }
            ],
            "p":27,
            "w":0.09121621621621623
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threads",
                "id":183,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":182,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30ff6e\", -0.5)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"ThreadsWaiting",
                    "tooltip":"hoverDisplay(\"ThreadsWaiting\",now,\"Threads\",formatNumber(threadsWaiting, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsWaiting"
                  }
                ],
                "name":"ThreadsWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threads",
                "id":66,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":65,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\" , -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsRunnable",
                    "tooltip":"hoverDisplay(\"Threads Runnable\",now,\"Threads\",formatNumber(threadsRunnable, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsRunnable"
                  }
                ],
                "name":"ThreadsRunnable",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threads",
                "id":68,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":67,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten( \"#ff7530\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsTimedWaiting",
                    "tooltip":"hoverDisplay(\"Threads Timed Waiting\",now,\"Threads\",formatNumber(threadsTimedWaiting, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsTimedWaiting"
                  }
                ],
                "name":"ThreadsTimedWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threads",
                "id":62,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":61,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#d229db\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsNew",
                    "tooltip":"hoverDisplay(\"Threads New\",now,\"Threads\",formatNumber(threadsNew, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsNew"
                  }
                ],
                "name":"ThreadsNew",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threads",
                "id":64,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":63,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsBlocked",
                    "tooltip":"hoverDisplay(\"Threads Blocked\",now,\"Threads\",formatNumber(threadBlocked, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadBlocked"
                  }
                ],
                "name":"ThreadsBlocked",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":184,
                "name":"Legend",
                "opac":100,
                "ser":[
                  65,
                  67,
                  182,
                  61,
                  63
                ],
                "type":"Legend"
              }
            ],
            "plotId":60,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"Threads"
        },
        "upid":"threadsChart"
      }
    },
    {
      "portletBuilderId":"amichartgrid",
      "portletConfig":{
        "amiPanelId":"threadsChart1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Threads",
        "axisBcnts":[
          1
        ],
        "axisConfig":{
          "B_0_0":{
            "amiStyle":{
              "axNumRotate":-90.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":""
          },
          "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":"threadsComp",
            "dmtbid":[
              "Process"
            ]
          }
        ],
        "mdivs":[
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":64,
                "w":0.07901234567901234
              },
              {
                "p":-1,
                "w":1.9209876543209876
              }
            ],
            "p":-1,
            "w":1.908783783783784
          },
          {
            "mdivs":[
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":64,
                "w":0.07901234567901234
              },
              {
                "mdivs":[
                  {
                    "p":-1,
                    "w":1.0
                  }
                ],
                "p":-1,
                "w":1.9209876543209876
              }
            ],
            "p":27,
            "w":0.09121621621621623
          }
        ],
        "plotConfig":{
          "0_0":{
            "bgColor":"#1d1f31",
            "layers":[
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threadsComp",
                "id":183,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":182,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30ff6e\", -0.5)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30ff6e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "seriesName":"ThreadsWaiting",
                    "tooltip":"hoverDisplay(\"ThreadsWaiting\",now,\"Threads\",formatNumber(threadsWaiting, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsWaiting"
                  }
                ],
                "name":"ThreadsWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threadsComp",
                "id":66,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":65,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#30b3ff\" , -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#30b3ff\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsRunnable",
                    "tooltip":"hoverDisplay(\"Threads Runnable\",now,\"Threads\",formatNumber(threadsRunnable, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsRunnable"
                  }
                ],
                "name":"ThreadsRunnable",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threadsComp",
                "id":68,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":67,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten( \"#ff7530\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff7530\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsTimedWaiting",
                    "tooltip":"hoverDisplay(\"Threads Timed Waiting\",now,\"Threads\",formatNumber(threadsTimedWaiting, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsTimedWaiting"
                  }
                ],
                "name":"ThreadsTimedWaiting",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threadsComp",
                "id":62,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":61,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#d229db\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#d229db\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsNew",
                    "tooltip":"hoverDisplay(\"Threads New\",now,\"Threads\",formatNumber(threadsNew, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadsNew"
                  }
                ],
                "name":"ThreadsNew",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "dmTableName":"Process",
                "dmadn":"threadsComp",
                "id":64,
                "layers":[
                  {
                    "editorType":"2dAdv",
                    "id":63,
                    "lineColor":{
                      "type":"custom",
                      "value":"brighten(\"#ff303e\", -0.5D)"
                    },
                    "lineSize":"1",
                    "lineType":"\"vertical\"",
                    "mColor":{
                      "type":"custom",
                      "value":"\"#ff303e\""
                    },
                    "mHeight":"3",
                    "mShape":"\"circle\"",
                    "mWidth":"3",
                    "sel":"true",
                    "seriesName":"ThreadsBlocked",
                    "tooltip":"hoverDisplay(\"Threads Blocked\",now,\"Threads\",formatNumber(threadBlocked, \"###,###\", \"\"))",
                    "xPos":"now",
                    "yPos":"threadBlocked"
                  }
                ],
                "name":"ThreadsBlocked",
                "opac":100,
                "type":"Chart",
                "xAxisId":3,
                "yAxisId":59
              },
              {
                "amiStyle":{
                  "pt":"LAYOUT_DEFAULT"
                },
                "id":184,
                "name":"Legend",
                "opac":100,
                "ser":[
                  65,
                  67,
                  182,
                  61,
                  63
                ],
                "type":"Legend"
              }
            ],
            "plotId":60,
            "selBoxBorderColor":"#404040ef",
            "selBoxFillColor":"#40404007",
            "selColor":"#bacbfb6e"
          }
        },
        "rowsCount":1,
        "titlePnl":{
          "title":"Threads"
        },
        "upid":"threadsChart1"
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"Type",
            "id":"Type",
            "location":0,
            "tl":"Type",
            "tp":"text",
            "width":143
          },
          {
            "fm":"Avg",
            "id":"Avg",
            "location":1,
            "tl":"Avg",
            "tp":"numeric",
            "width":42
          },
          {
            "fm":"Max",
            "id":"Max",
            "location":2,
            "pc":0,
            "tl":"Max",
            "tp":"numeric",
            "width":40
          },
          {
            "fm":"Min",
            "id":"Min",
            "location":3,
            "pc":0,
            "tl":"Min",
            "tp":"numeric",
            "width":40
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"threadsComp",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"threadStats",
        "callbacks":{
          "entries":[
            {
              "amiscript":[
                "List layers = threadsChart.getPlot(0,0).getLayers();\n",
                "List types = this.asTable(\"\",new Set(\"Type\")).toList(\"Type\");\n",
                "List selected = this.getSelectedRows().size() == 0 ? types : this.asTable(\"SELECTED\", NULL).toList(\"Type\");\n",
                "List colors = new List(\"#30ff6e\", \"#30b3ff\", \"#ff7530\", \"#d229db\", \"#ff303e\");\n",
                "  \n",
                "for(int i = 0; i < types.size(); i++){\n",
                "  Boolean typeSel = selected.contains(types.get(i));\n",
                "  ChartPanelLayer l = layers.get(i);\n",
                "  l.setFormula(\"lineSize\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mWidth\", typeSel ? \"2\":\"0\");\n",
                "  l.setFormula(\"mHeight\", typeSel ? \"2\":\"0\");\n",
                "}\n",
                "selected.splice(0,0,\"Time\");\n",
                "\n",
                "threadsTable.setVisibleColumns(selected);"
              ],
              "linkedVariables":[
                {
                  "ari":"PANEL:threadsChart1",
                  "varName":"threadsChart"
                },
                {
                  "ari":"PANEL:threadsTable1",
                  "varName":"threadsTable"
                }
              ],
              "name":"onSelected"
            }
          ]
        },
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"threadsComp",
            "dmtbid":[
              "threadStats"
            ]
          }
        ],
        "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":"threadStats"
        },
        "upid":"threadsComp",
        "varTypes":{
          "Avg":"Double",
          "Max":"Integer",
          "Min":"Integer",
          "Type":"String"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"threadsWaiting",
            "id":"col_10",
            "location":1,
            "pc":0,
            "tl":"Waiting Threads",
            "tp":"numeric",
            "width":104
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"threadsRunnable",
            "id":"col_8",
            "location":2,
            "pc":0,
            "tl":"Runnable Threads",
            "tp":"numeric",
            "width":116
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"threadsTimedWaiting",
            "id":"col_9",
            "location":3,
            "pc":0,
            "tl":"Timed Waiting Threads",
            "tp":"numeric",
            "width":143
          },
          {
            "fg":"\"#d229db\"",
            "fm":"threadsNew",
            "id":"col_7",
            "location":4,
            "pc":0,
            "tl":"New Threads",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"threadBlocked",
            "id":"col_6",
            "location":5,
            "pc":0,
            "tl":"Blocked Threads",
            "tp":"numeric",
            "width":107
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"threadsTable",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Threads Timeline",
        "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":"threads",
            "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,
        "sorting":[
          {
            "id":"col_2",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"Threads Timeline"
        },
        "upid":"threadsTable",
        "varTypes":{
          "now":"Long",
          "threadBlocked":"Integer",
          "threadsNew":"Integer",
          "threadsRunnable":"Integer",
          "threadsTimedWaiting":"Integer",
          "threadsWaiting":"Integer"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_2",
            "location":0,
            "pc":0,
            "tl":"Time",
            "tp":"datetime_sec",
            "width":122
          },
          {
            "fg":"\"#30ff6e\"",
            "fm":"threadsWaiting",
            "id":"col_10",
            "location":1,
            "pc":0,
            "tl":"Waiting Threads",
            "tp":"numeric",
            "width":104
          },
          {
            "fg":"\"#30b3ff\"",
            "fm":"threadsRunnable",
            "id":"col_8",
            "location":2,
            "pc":0,
            "tl":"Runnable Threads",
            "tp":"numeric",
            "width":116
          },
          {
            "fg":"\"#ff7530\"",
            "fm":"threadsTimedWaiting",
            "id":"col_9",
            "location":3,
            "pc":0,
            "tl":"Timed Waiting Threads",
            "tp":"numeric",
            "width":143
          },
          {
            "fg":"\"#d229db\"",
            "fm":"threadsNew",
            "id":"col_7",
            "location":4,
            "pc":0,
            "tl":"New Threads",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"threadBlocked",
            "id":"col_6",
            "location":5,
            "pc":0,
            "tl":"Blocked Threads",
            "tp":"numeric",
            "width":107
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"threadsTable1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Threads Timeline",
        "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":"threadsComp",
            "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,
        "sorting":[
          {
            "id":"col_2",
            "order":"dsc"
          }
        ],
        "titlePnl":{
          "title":"Threads Timeline"
        },
        "upid":"threadsTable1",
        "varTypes":{
          "now":"Long",
          "threadBlocked":"Integer",
          "threadsNew":"Integer",
          "threadsRunnable":"Integer",
          "threadsTimedWaiting":"Integer",
          "threadsWaiting":"Integer"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":146
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":174
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"timerBlender5",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Timer Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"timers",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Timer Timeline"
        },
        "upid":"timerBlender5",
        "varTypes":{
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "hs":"\"left\"",
            "id":"now",
            "location":0,
            "sy":"\"left\"",
            "tl":"Time",
            "tp":"datetime_millis",
            "width":146
          },
          {
            "fm":"name",
            "id":"name",
            "location":1,
            "tl":"Name",
            "tp":"text",
            "width":174
          },
          {
            "fm":"errors",
            "id":"errors",
            "location":2,
            "pc":0,
            "tl":"Errors",
            "tp":"numeric",
            "width":45
          },
          {
            "fm":"runtime",
            "id":"runtime",
            "location":3,
            "tl":"Runtime (ms)",
            "tp":"numeric",
            "width":88
          },
          {
            "id":"D",
            "width":100
          }
        ],
        "amiPanelId":"timerBlender6",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Timer Timeline",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"timersComp",
            "dmtbid":[
              "AmiCenterTimers"
            ]
          }
        ],
        "dynamicColumns":"false",
        "editDblClk":true,
        "editInplace":false,
        "editMenuTitle":"Edit Row(s)",
        "editMode":0,
        "editRerunDM":true,
        "filters":{
        },
        "pinCnt":1,
        "rollupEnabled":false,
        "scrollToBottomOnAppend":false,
        "showCommandMenu":true,
        "showLastRuntime":true,
        "titlePnl":{
          "title":"Timer Timeline"
        },
        "upid":"timerBlender6",
        "varTypes":{
          "errors":"Long",
          "name":"String",
          "now":"Long",
          "runtime":"Long"
        }
      }
    },
    {
      "portletBuilderId":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_3",
            "location":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fg":"\"#ef40cf\"",
            "fm":"activeSessions",
            "id":"col_4",
            "location":1,
            "pc":0,
            "tl":"Active Sessions",
            "tp":"numeric",
            "width":112
          },
          {
            "fg":"\"#62efc0\"",
            "fm":"httpServices",
            "id":"col_5",
            "location":2,
            "pc":0,
            "tl":"Http Services",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"userRows",
            "id":"col_7",
            "location":3,
            "pc":0,
            "tl":"User Rows",
            "tp":"numeric",
            "width":73
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"userHiddenRows",
            "id":"col_8",
            "location":4,
            "pc":0,
            "tl":"User Hidden Rows",
            "tp":"numeric",
            "width":118
          },
          {
            "fg":"\"#c4e86a\"",
            "fm":"cachedRows",
            "id":"col_9",
            "location":5,
            "pc":0,
            "tl":"Cached Rows",
            "tp":"numeric",
            "width":90
          },
          {
            "fm":"activeConnections",
            "id":"col_6",
            "location":6,
            "pc":0,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"centersConnected",
            "id":"col_10",
            "location":7,
            "pc":0,
            "tl":"Centers Connected",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"openedConnections",
            "id":"col_11",
            "location":8,
            "pc":0,
            "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
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":125
          }
        ],
        "amiPanelId":"webDetails",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Connection Details",
        "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,
        "titlePnl":{
          "title":"Connection Details"
        },
        "upid":"webDetails",
        "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":"amistatictable",
      "portletConfig":{
        "amiCols":[
          {
            "fm":"now",
            "id":"col_3",
            "location":0,
            "tl":"Time",
            "tp":"datetime_millis",
            "width":147
          },
          {
            "fg":"\"#ef40cf\"",
            "fm":"activeSessions",
            "id":"col_4",
            "location":1,
            "pc":0,
            "tl":"Active Sessions",
            "tp":"numeric",
            "width":112
          },
          {
            "fg":"\"#62efc0\"",
            "fm":"httpServices",
            "id":"col_5",
            "location":2,
            "pc":0,
            "tl":"Http Services",
            "tp":"numeric",
            "width":87
          },
          {
            "fg":"\"#ff303e\"",
            "fm":"userRows",
            "id":"col_7",
            "location":3,
            "pc":0,
            "tl":"User Rows",
            "tp":"numeric",
            "width":73
          },
          {
            "fg":"\"#ffc637\"",
            "fm":"userHiddenRows",
            "id":"col_8",
            "location":4,
            "pc":0,
            "tl":"User Hidden Rows",
            "tp":"numeric",
            "width":118
          },
          {
            "fg":"\"#c4e86a\"",
            "fm":"cachedRows",
            "id":"col_9",
            "location":5,
            "pc":0,
            "tl":"Cached Rows",
            "tp":"numeric",
            "width":90
          },
          {
            "fm":"activeConnections",
            "id":"col_6",
            "location":6,
            "pc":0,
            "tl":"Active Connections",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"centersConnected",
            "id":"col_10",
            "location":7,
            "pc":0,
            "tl":"Centers Connected",
            "tp":"numeric",
            "width":121
          },
          {
            "fm":"openedConnections",
            "id":"col_11",
            "location":8,
            "pc":0,
            "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
          },
          {
            "bg":"\"#cedae2\"",
            "fg":"\"#000000\"",
            "fm":"T",
            "id":"col_2",
            "sy":"\"arial,bold\"",
            "tl":"T",
            "tp":"text",
            "width":125
          }
        ],
        "amiPanelId":"webDetails1",
        "amiStyle":{
          "pt":"LAYOUT_DEFAULT"
        },
        "amiTitle":"Connection Details",
        "curtimeUpdateFrequency":1000,
        "dm":[
          {
            "dmadn":"mainCompare",
            "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,
        "titlePnl":{
          "title":"Connection Details"
        },
        "upid":"webDetails1",
        "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"
        }
      }
    }
  ]
}