Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] Custom application name not shown in flow session log



Article ID: KB29306 KB Last Updated: 17 Jul 2014Version: 1.0

A custom application is created and security policy matching this application has session logging enabled but session log doesn't show the custom application name. This article explains why this behavior is to be expected. This is a display issue, which does not affect session flow.


A custom application is created as follows:

root@srx# show applications
application custom-http {
   protocol tcp;
   destination-port 80;
   inactivity-timeout never;

A security policy is also configured to match this application:

root@srx# show security policies from-zone CLIENTS to-zone INTERNET 

policy web-allow {
    match {
        source-address any;
        destination-address any;
        application custom-http;
    then {
        log {

Session hits and a session log is created as seen below:

Jul 4 15:17:58 srx RT_FLOW: RT_FLOW_SESSION_CREATE: session created> junos-http> clients_nat None 6 web-allow CLIENTS INTERNET 3553 N/A(N/A) ge-0/0/0 UNKNOWN UNKNOWN UNKNOWN

However, the junos-http application name is displayed instead of the custom-http application if an application is created with a non well-known port. such as:

application custom-app {
    protocol udp;
    destination-port 14500;
    inactivity-timeout 800;

Instead of displaying the custom-app name configured, the session log only displays "None".


In current design of Junos OS, the custom application name is not pushed to the packet forwarding engine (PFE), so the event logs generated by the PFE cannot read the custom application name. Only the default application name is displayed. This is only a display issue and does not affect session flow.


This behavior is by design. No change to this design is currently anticipated.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search