Creating a User-Defined Repository

You can create a new repository at any time.

The repository requires correct directory paths. Your file will be applied to the wrong directory if the entered path contains errors, such as extra spaces or incorrect spellings. You can verify your directory paths by accessing the Directory.txt file, which lists the directory structure for every entered path. View the Directory.txt file by accessing your container logs and finding the Directory.txt file.

To create a new user-defined repository:

  1. Click Administration > Repositories.

  2. Click New Repository under the Repositories section in the left panel.

  3. For the new repository, enter the parameters listed in the following table.

    Parameter

    Description

    Name

    A unique name for the repository, typically based on the type of files it contains.

    Display Name

    The name that will be displayed on the left-side menu and for tabs: Process names, View names, Settings for names. Typically plural.

    Item Display Name

    The name used to describe a single item.

    Recursive

    Check to include sub-folders.

    Sort Priority

    -1 by default

    Restart Connector Process

    Check to restart the connector process after file operations.

    Filename Prefix

    An identifying word that is included in the names of retrieved files. For example, map files are identified by Map in the file name: localhost_Container_-1.Map-2009-04-06_12-22-25-607.zip

    Relative path (Download)

    The path for download, relative to $ARCSIGHT_HOME, for example, user/agent/map or user/agent/flexagent. Leave this field blank to specify files in $ARCSIGHT_HOME.

    Note: The relative path is used for download only.

    Include Regular Expression

    A description of filenames to include. Use .* to specify all files. The following example selects properties files that consist of map. followed by one or more digits, followed by .properties:

    map\.[0-9]+\.properties$

    Exclude Regular Expression

    A description of filenames to exclude. The following example excludes all files with a certain prefix or in the agentdata folder.

    (agentdata/|cwsapi_fileset_).*$

    Delete Before Upload

    Check to delete earlier copies before upload.

    CAUTION: If you check Delete Before Upload and do not specify a Relative path (Upload), all files and folders in current/user/agent will be deleted.

    Delete Groups

    Whether to delete folders recursively in $ARCSIGHT_HOME/user/agent/map directory.

    Relative path (Upload)

    The path for upload, relative to $ARCSIGHT_HOME/current/user/agent/flexagent/
    <
    connectorname>

    Delete Relative Path

    Whether the directory specified in Relative Path (Upload) and its contents should be removed when a file is uploaded from the repository.

    Delete Include Regular Expression

    Typically the same as the Include Regular Expression.

    Delete Exclude Regular Expression

    Typically the same as the Exclude Regular Expression.

  4. Click Save at the bottom of the page.

    The new repository displays under the New Repository heading in the left-side window panel.