ApacheLogParser - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

The ApacheLogParser function parses Apache log file content from a given server access log and outputs specified columns of information, which can include search engines and search terms.

The function parses Apache log files with these constraints:
  • Log files are loaded into a table
  • One line of the Apache log file is loaded to one row in the table
  • If you specify a custom log format, the input must conform to that format.
  • If you do not specify a custom format string with the Log_Format argument, the function parses the logs with the NCSA extended/combined format, which is defined as:
      "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""