Tier Naming Format

Format Description Example
tier-name-format The format contains only literals and the tier name appears the same as the format. tier-name-format
tier->AppServerType>-format The mix of literals and attributes . The tier name is evaluated after passing the attribute and replaces the value of the attribute. Attributes are defined within the angular bracket <AppServerType> .
  • tier-tomcat-format for tomcat application server
  • tier-jboss-format for jboss application server
  • tier-glassfish-format for glassfish application server
  • tier-java-format for plain java application

`input.CmdlineArray[count(input.CmdlineArray) - 1]`

The expression is made inside the ` ` . This does not have an attribute, and there is no change in the expression.
"CmdlineArray": [ "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/jre/bin/java", "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager", "-classpath", "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/lib/tools.jar:/home/Ecommerce.jar", "EcommerceApplication" ]

Assuming the command line is the value above, the tier name format is EcommerceApplication.

`<CmdlineArray>[count(<CmdlineArray>) - 1]` The expression is made inside the ` ` . The attributes are parsed.
"CmdlineArray": [ "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/jre/bin/java", "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager", "-classpath", "/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/lib/tools.jar:/home/Ecommerce.jar", "EcommerceApplication" ]

Assuming the command line is the value above, the tier name format isEcommerceApplication.