How to Include Severity Values in Junos Syslog Messages
When managing a network of Junos devices, you often have two separate files with logging information in them: a messages file with all syslog events with a severity of notice or higher, and a security file with all authorization events with a severity of info or higher.
Even with this separation, the syslog messages can still be cumbersome to sift through when viewing the files from the device. What if you want to view the messages file, but you want to see only events of severity warning or higher? The severity value doesn’t appear in any of the syslog events.
To include both the syslog facility and the severity values in each message, configure the explicit-priority statement:
[edit system]
syslog {
file messages {
any notice;
explicit-priority;
}
file security {
authorization info;
}
}
This syslog configuration includes the facility and severity values for all the syslog messages included in the messages file. Now you can view the log file and see only the messages of severity warning or higher:
user@my-device> show log messages | match -4-
Nov 30 16:07:10 my-device mib2d[4365]: %DAEMON-4-SNMP_TRAP_LINK_DOWN: ifIndex
196, ifAdminStatus up(1), ifOperStatus down(2), ifName at-1/0/1
In this output, you filter the messages and retrieve only the message that has -4-. This filter returns the SNMP link category link down trap, which has a facility of DAEMON and a severity of 4. Using the explicit-priority configuration statement, you can make your log files substantially easier to parse.

Cloud Computing Glossary
cloud computing
A networking solution in which everything — from computing power to computing infrastructure, applications, business processes to personal collaboration — is delivered as a service wherever and whenever you need.

Cloud Computing Glossary
cloud service
The delivery of software, infrastructure, or storage that has been packaged so it can be automated and delivered to customers in a consistent and repeatable manner.

Cloud Computing Glossary
deprovision
The release of cloud services that are no longer needed.

Cloud Computing Glossary
federating
Linking distributed resources together over the cloud.

Cloud Computing Glossary
hypervisor
An operating system that acts as a traffic cop, managing the various virtualization tasks in the cloud to ensure that they make things happen in an orderly manner.

Cloud Computing Glossary
multi-tenancy
The sharing of underlying resources by multiple companies over a cloud.

Cloud Computing Glossary
network attached store
Storage that has its own network address through which it is accessed by the network's workstation users. Acronym: NAS

Cloud Computing Glossary
service level agreement
A contract that stipulates the type of service you need from providers and what type of penalties would result from an unexpected business interruption. Acronym: SLA

Cloud Computing Glossary
solution stack
An integrated set of software that provides everything a developer needs to build an application.

Cloud Computing Glossary
storage area network
A storage systems that is flexible and scalable because it's available to multiple hosts at the same time. Acronym: SAN

Cloud Computing Glossary
vertical industry groups
Workgroups comprised of members from a particular industry such as technology and retail.

Cloud Computing Glossary
virtual memory
The portion of your hard drive that Windows uses to expand the available RAM

Cloud Computing Glossary
virtualization
Using computer resources to imitate other computer resources or whole computers to maximize performance and flexibility.