To Generate Xml-Based Custom Log Files - HP P4535A - Web Cache Server Appliance Administrator's Manual

Hp cache server appliance administrator guide
Hide thumbs Also See for P4535A - Web Cache Server Appliance:
Table of Contents

Advertisement

Chapter 12
o The origin servers you want to log (if the servers tag is used, Traffic Server will only log transactions
from the origin servers listed, otherwise, transactions from all origin servers are logged).
NOTE

To generate XML-based custom log files:

1. Access Traffic Manager from your browser (refer to
2. On the Configure tab, click the Logging button.
3. Scroll to the Custom Logs section of the Logging page (shown below).
4. Select the Enabled: On button.
5. Select the XML button.
6. Click the Make These Changes button, then exit Traffic Manager.
7. Telnet into the HP web cache appliance and select Shell Access as described in
Methods‚ on page
8. Open the
records.config
9. Search for the following string:
CONFIG proxy.config.log2.xml_config_file STRING
10. After
, enter the name of the XML-based logging configuration file.
STRING
By default, this is
11. Save and close the
12. Open the
logs_xml.config
13. Add
LogFormat
For detailed information about the
logs_xml.config‚ on page
14. Save and close the
15. Run the command
Creating summary log files
Traffic Server performs several hundred operations per second, therefore, event log files can grow quickly to
large sizes. Using SQL-like aggregate operators, you can configure Traffic Server to create summary log files
that summarize a set of log entries over a specified period of time. This can significantly reduce the size of the
log files generated.
You generate a summary log file by creating a
file (
logs_xml.config
To generate a custom log file, you must specify at least one
log file is produced for each
7.
file located in Traffic Server's
, located in the
logs_xml.config
file.
records.config
file with Vi.
,
, and
LogFilter
LogObject
logs_xml.config
171.
file.
logs_xml.config
to apply the configuration changes.
traffic_line -x
) using the following SQL-like aggregate operators:
definition.
LogObject
Accessing Traffic Manager‚ on page
directory with Vi.
config
directory.
config
specifications to the configuration file.
file and associated object specifications, see
object in the XML-based logging configuration
LogFormat
Working with Log Files
definition. One
LogObject
8).
Overview of Access
106

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P4535A - Web Cache Server Appliance and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

P4535a

Table of Contents