You can write an application rule to directly manipulate and manage application traffic.

For application rule examples, see Application Rule Examples.

Procedure

  1. Log in to the vSphere Web Client.
  2. Click Networking & Security > NSX Edges.
  3. Double-click an NSX Edge.
  4. Click Manage > Load Balancer > Application Rules.
  5. Click Add.
  6. Type the name and script for the rule.

    For information about the application rule syntax, see http://cbonte.github.io/haproxy-dconv/.

  7. Click Add or OK.