Apache httpd logs
Modules for parsing the log files of httpd service. Parsers include:
HttpdSSLErrorLog - file ssl_error_log
HttpdErrorLog - file error_log
Httpd24HTTPDErrorLog - file httpd24_httpd_error_log
JBCSHTTPD24HttpdErrorLog - file jbcs_httpd24_httpd_error_log
HttpdSSLAccessLog - file ssl_access_log
HttpdAccessLog - file access_log
Note
Please refer to the super-class insights.core.LogFileOutput
for more usage information.
- class insights.parsers.httpd_log.Httpd24HttpdErrorLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
error_logfile.- time_format = '%b %d %H:%M:%S.%f %Y'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file
- class insights.parsers.httpd_log.HttpdAccessLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
access_logfile.- time_format = '%d/%b/%Y:%H:%M:%S'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file
- class insights.parsers.httpd_log.HttpdErrorLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
error_logfile.- time_format = '%b %d %H:%M:%S.%f %Y'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file
- class insights.parsers.httpd_log.HttpdSSLAccessLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
ssl_access_logfile.- time_format = '%d/%b/%Y:%H:%M:%S'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file
- class insights.parsers.httpd_log.HttpdSSLErrorLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
ssl_error_logfile.- time_format = '%b %d %H:%M:%S.%f %Y'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file
- class insights.parsers.httpd_log.JBCSHttpd24HttpdErrorLog(context)[source]
Bases:
LogFileOutputClass for parsing httpd
error_logfile.- time_format = '%b %d %H:%M:%S.%f %Y'
The timestamp format assumed for the log files. A subclass can override this for files that have a different timestamp format. This can be:
A string in strptime() format.
A list of strptime() strings.
A dictionary with each item’s value being a strptime() string. This allows the item keys to provide some form of documentation.
A None value when there is no timestamp info in the log file