PySpark Plaso Release 2019 A tool for distributed extraction of timestamps from various files using extractors adapted from the Plaso engine to Apache Spark.

Public Member Functions | Public Attributes | List of all members
plaso.tarzan.app.controllers.controller.Controller Class Reference
Inheritance diagram for plaso.tarzan.app.controllers.controller.Controller:
[legend]
Collaboration diagram for plaso.tarzan.app.controllers.controller.Controller:
[legend]

## Public Member Functions
def | __init__ (self, hdfs_base_uri)
def | make_hdfs_uri (self, hdfs_path)
def | strip_hdfs_uri (self, hdfs_path)

## Public Attributes
| hdfs_base_uri

## Detailed Description

    Base-class for controllers.

## Constructor & Destructor Documentation

## ◆ __init__()

def plaso.tarzan.app.controllers.controller.Controller.__init__ | ( |  | self,
|  |  | hdfs_base_uri
| ) |  |

    Create a new controller that is able to store and utilize HDFS URI.
    :param hdfs_base_uri: the base HDFS URI to store

Reimplemented in plaso.tarzan.app.controllers.filemancontroller.FileManController.

## Member Function Documentation

## ◆ make_hdfs_uri()

def plaso.tarzan.app.controllers.controller.Controller.make_hdfs_uri | ( |  | self,
|  |  | hdfs_path
| ) |  |

    Get a full HDFS URI by adding a given path to the base HDFS URI.
    :param hdfs_path: HDFS path
    :return: HDFS URI

## ◆ strip_hdfs_uri()

def plaso.tarzan.app.controllers.controller.Controller.strip_hdfs_uri | ( |  | self,
|  |  | hdfs_path
| ) |  |

    Get a given HDFS path without its HDFS URI prefix.
    :param hdfs_path: the HDFS path
    :return: the HDFS path without the HDFS URI prefix

## Member Data Documentation

## ◆ hdfs_base_uri

plaso.tarzan.app.controllers.controller.Controller.hdfs_base_uri

The documentation for this class was generated from the following file:

- /home/rychly/repos/pyspark-plaso/src/plaso/tarzan/app/controllers/controller.py