Configure File System Connector

To configure File System Connector, follow these steps:

  1. Make sure that the component File System Connector was included when Smart Analytics was installed.

    Note You can install File System Connector either along with other components by using the All in One install template, or install the connector separately by using the Customize install template through advanced installation. For more details, see Advanced Installation in Install Smart Analytics.

  2. Go to <Smart Analytics Installation>/FileSystemConnector, locate the filesystemconnector.cfg file, and then configure the [FetchTasks] and [MyTask] sections as needed.

    Sample code:

    [FetchTasks]
    Number=1
    0=MYTASK
    
    [MYTASK]
    //specifies the interval (in seconds) between scheduled synchronize actions.
    ScheduleRepeatSecs=300
    //specifies whether the connector searches subfolders.
    DirectoryRecursive=TRUE
    //The DirectoryPathCSVs parameter specifies a comma-separated list of folders to search for files.
    DirectoryPathCSVs=\\JORA7\ShareDirectory
    //A regular expression that specifies the folders to search for files. The connector only searches folders
    //that are within the location specified by DirectoryPathCSVs
    //where the full path of the folder matches the regular expression
    //where the full path of all parent folders (up to the folder specified by DirectoryPathCSVs) match the regular expression.
    PathCrawlRegex=.*
    //A regular expression that specifies the folders to ignore. The connector ignores any folders where the path matches the regular expression.
    //If a folder is ignored, all of its subfolders are also ignored.
    //PathCrawlRegex=
    //The DirectoryFileMatch parameter limits the files that are retrieved by the connector. The value of this parameter is a wildcard expression
    //The filename of a file must match the wildcard expression, otherwise the file is ignored. default to all files 
    DirectoryFileMatch=*.pdf,*.doc,*.ppt,*.log 

    Sample screenshot:

  3. Log on to Service Manager, and then click System Administration > Ongoing Maintenance > Smart Analytics > Smart Search. The Smart Search configuration page appears.
  4. Click the Connector Configuration link to open the connector configuration page.
  5. From the File System Connector tab, a list of all connector URLs and their status is provided. You can perform the following actions:

    • Add a File system connector: Type a new file system connector URL here, for example: http://192.168.255.255:1234/. You can click Test connection to test the URL connection status, and click Add to add this URL to the current list.

      Note  

      • The “/” at the end of the URL is mandatory.
      • Make sure the task status is online.
      • To get the URL information for the file system connector you have configured, check the following configuration file:

        <Smart Analytics Installation>/FileSystemConnector/filesystemconnector.cfg

    • Delete: Select a file system connector URL, and then click this button to delete it from the list.
    • Refresh Status: Click to refresh the status of the URL list.

    Note When the fileserver connectors (including CFS server) and the fileserver share folders are on the same machine, Service Manager supports the UNC path (DirectoryPathCSVs=\\path\to\shared\folder) by using the IE browser.

  6. Do the following to add a fsyslib library for the file system connector:

    1. Go to Smart Search Configuration page.
    2. Specify Knowledgebase Name.
    3. Select fsylib for Type.
    4. Click Add. The Knowledgebase Maintenance page opens.

  7. Specify Connector and Task.
  8. Click Save.
  9. Click Full Reindex and Refresh Status.

  10. You can perform a search when the status changes to Indexing and Doc Count for this library is greater than 1.

    Note Log off and then log back on to your Service Manager if you can not find weblib library in your Smart Search library list.