ApacheLogParser (ML Engine) - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.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 syntax element, 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\""