Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Adobe Media Server Developer Center /

Configuring Adobe Media Server for remote server logging

by Gaurav Sehgal

Gaurav Sehgal

Content

  • Configuring AMS to enable remote logging
  • Setting up syslog as a remote logging server
  • Where to go from here

Created

11 March 2013

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
administrationAdobe Media Server 5 Standar...configurationtestingvideo
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

This article assumes that you have basic knowledge of using the Adobe Media Server and know how to run a Flash-based SWF client.

 

Additional required other products

  • An OSMF-based SWF client for playback (Learn about OSMF)

User level

Intermediate

Required products

  • Adobe Media Server 5 Standard
  • Flash Media Live Encoder
  • Flash Player
  • Adobe AIR

In this article, you will learn how Adobe Media Server(AMS) can be configured to send logs to a remote logging server. This technique separates the software that generates messages from the system that stores them and the software that reports and analyzes them. Centralized logs management can be used for security auditing as well as generalized informational analysis, and debugging messages in clustered environments.

Configuring AMS to enable remote logging

Adobe Media Server has a variety of log files to help you manage and troubleshoot the server. The log files track server activity, such as who is accessing the server, how users are working with applications, and general diagnostics. Logs are in W3C format. Administrators can use standard parsing tools to parse the log files.

Adobe Media Server can be configured to send logs to a remote logging server over UDP. To enable this, open the Logger.xml file in a text editor. The Logger.xml file is located in the root_install/conf folder.

In the Logger.xml file, search for the <LogServer> tag. This tag has multiple occurrences in the Logger.xml file. You have the flexibility of sending different type of logs to different remote servers.

To enable remote logging for a particular type of log, set the enable attribute to true. Set the type of connection to use by specifying the type attribute as udp, which is the default. The section you need to edit is highlighted in Figure 1. After setting these configurations, restart the AMS Server.

Figure 1. Enabling remote logging for Access logs
Figure 1. Enabling remote logging for Access logs

Setting up syslog as a remote logging server

Syslog is a standard for computer data logging. I have chosen it because it is installed on most Unix-based systems. The following steps demonstrate using AMS to log messages to a remote syslog server. It assumed that you have the required permissions to edit and restart services on the system where syslog is installed.

Verify syslog installation

The first step in the process is to check if syslog is running on the system, or else install it. You can test if syslog is running by executing the following command:

>ps –aux |grep syslog root 30453 0.0 0.0 10124 764 ? Ss Jan25 0:00 syslogd -m 0

By default, syslogd logs messages at /var/log/messages. You can test that it's logging by running:

>logger -t ams "Hello logger"

and check if "Hello logger" is logged in /var/log/messages by using the tail command:

>tail –f /var/log/messages

Configure syslog to listen over UDP

Provide an additional startup parameter, -r, to syslogd by editing /etc/sysconfig/syslog, as shown in Figure 2.

Figure 2. Configuring syslogd to listen over UDP
Figure 2. Configuring syslogd to listen over UDP

Restart the service using the following command:

/etc/init.d/syslog restart

Test that syslog is listening

Use netstat to check if syslog has started and is listening. By default, most of syslog's listening activity is over port number 514:

>netstat -a |grep syslog udp 0 0 *:syslog *:*

Test that syslog is accepting messages over UDP

You can use NetCat/Nmap(ncat) to test:

>nc -u localhost 514 >Hello syslog

It should print "Hello syslog" in /var/log/messages. You should also try to send a UDP message from the system where AMS is installed. If it is a Windows system, you can use ncat (which comes with the nmap installation):

>ncat -u remote_syslog_server_ip 514

If you are not able to see the message, please diagnose further: for instance, check to see if your firewalls allow UDP packets to reach the remote logging server.

Configure AMS to send log messages over UDP

To enable remote logging for AMS access logs, in the <LogSever> tag, set the enable attribute to true. Provide the syslog server IP address and port (514) and also set the connection type to UDP; then restart the AMS server. The section you need to edit is highlighted in Figure 3.

Figure 3. Configuring AMS to send logging activity to a remote logging server over UDP
Figure 3. Configuring AMS to send logging activity to a remote logging server over UDP

On the AMS system, open a browser of your choice and go to: http://localhost:8134/.

You should see the page shown in Figure 4:

Figure 4. Index page of AMS
Figure 4. Index page of AMS

Try to play different streams. If you're able to see logs in /var/log/messages on the remote syslog server, then your system is correctly configured.

Where to go from here

Remote server logging is an easy and quick way to monitor and manage logs at a centralized location. This can be configured to log via UDP. Check out the following additional resources on this topic:

  • Learn how to monitor and manage AMS log files
  • Learn how to configure Logger.xml
  • See what's new in Adobe Media Server

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Encoding live video to H.264/AVC with Flash Player 11
  • Beginner's guide to streaming audio through Flash Media Server 3.5
  • Beginner's guide to dynamic streaming with Flash Media Server 3.5
  • Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5
  • Streaming AAC/MP3 files with Flash Media Server 3
  • Beginner's guide to installing Flash Media Server 3.5
  • Beginner's guide to streaming live video with Flash Media Server 3.5
  • Calculating bandwidth needs for Flash Media Server 3
  • Beginner's guide to streaming video with Flash Media Server 3.5
  • Protecting online video distribution with Adobe Flash media technology

Flash Media Server Forum

More
05/17/2013 HDS-Live playback stops after some time
05/17/2013 Cacheroot larger vod files, and AMS dont accept external connections
05/16/2013 audio live streaming not smooth
12/16/2010 Recording multicast RTMFP streams

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement