ApacheLogParser Function | Teradata Vantage - ApacheLogParser (ML Engine) - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.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\""