|
string | START_TIME_PARAM = "start_time" |
|
string | END_TIME_PARAM = "end_time" |
|
string | MINIMUM_LOG_LEVEL_PARAM = "minimum_log_level" |
|
string | INCLUDE_INCOMPLETE_PARAM = "include_incomplete" |
|
string | INCLUDE_APP_LOGS_PARAM = "include_app_logs" |
|
string | VERSION_IDS_PARAM = "version_ids" |
|
string | MODULE_VERSIONS_PARAM = "module_versions" |
|
| expand_parameters = False |
|
string | NAMESPACE_PARAM = "namespace" |
|
string | NAMESPACES_PARAM = "namespaces" |
|
Input reader for a time range of logs via the Logs Reader API.
The number of input shards may be specified by the SHARDS_PARAM mapper
parameter. A starting and ending time (in seconds since the Unix epoch) are
required to generate time ranges over which to shard the input.
def google.appengine.ext.mapreduce.input_readers.LogInputReader.__init__ |
( |
|
self, |
|
|
|
start_time = None , |
|
|
|
end_time = None , |
|
|
|
minimum_log_level = None , |
|
|
|
include_incomplete = False , |
|
|
|
include_app_logs = False , |
|
|
|
version_ids = None , |
|
|
|
module_versions = None , |
|
|
|
kwargs |
|
) |
| |
Constructor.
Args:
start_time: The earliest request completion or last-update time of logs
that should be mapped over, in seconds since the Unix epoch.
end_time: The latest request completion or last-update time that logs
should be mapped over, in seconds since the Unix epoch.
minimum_log_level: An application log level which serves as a filter on
the requests mapped over--requests with no application log at or above
the specified level will be omitted, even if include_app_logs is False.
include_incomplete: Whether or not to include requests that have started
but not yet finished, as a boolean. Defaults to False.
include_app_logs: Whether or not to include application level logs in the
mapped logs, as a boolean. Defaults to False.
version_ids: A list of version ids whose logs should be read. This can not
be used with module_versions
module_versions: A list of tuples containing a module and version id
whose logs should be read. This can not be used with version_ids
**kwargs: A dictionary of keywords associated with this input reader.