Skip to content

knowledgebase datasource update

qlik knowledgebase datasource update

Update a knowledgebase datasource

Synopsis

Update a knowledgebase datasource

qlik knowledgebase datasource update <datasourceId> [flags]

Options

--chunking-keepSeparator (Required) Allows to keep or remove separators used
--chunking-overlap int (Required) Chunk overlap, should be less than size
--chunking-separators strings (Required) List of separators to chunk by
--chunking-size int (Required) Size of chunks
--chunking-type string (Required) Chunking strategy
--contentSummary-effectivePages int (Required)
--contentSummary-fileCount int (Required)
--contentSummary-fileSize int (Required)
--contentSummary-textSize int (Required)
--crawlerConfig-crawlPatterns-pattern string (Required) Regex patterna to filter links on
--crawlerConfig-crawlPatterns-type string (Required) include or exclude
Allowed values: "include", "exclude"
--crawlerConfig-indexPatterns-pattern string (Required) Regex patterna to filter links on
--crawlerConfig-indexPatterns-type string (Required) include or exclude
Allowed values: "include", "exclude"
--crawlerConfig-scope-depth int (Required) The number of levels of links the crawler will traverse
--crawlerConfig-scope-downloadFiles (Required) if set to true crawler will try to download and index other supported content like pdf:s from links
--crawlerConfig-scope-maxLinks int (Required) Maximum number of links per page that will be extracted
--crawlerConfig-scope-maxSize int (Required) Optional parameter. Max size of downloaded files in bytes
--crawlerConfig-scope-scope string (Required) The scope that the crawler will crawl.
Allowed values: "all", "domain", "subdomain"
--crawlerConfig-url string (Required) Seed URL that crawling will start on.
-f, --file file Read request body from the specified file
--fileConfig-connectionId string (Required) connection id to be used to retrieve the raw data
--fileConfig-crawlPatterns-pattern string (Required) Regex patterna to filter links on
--fileConfig-crawlPatterns-type string (Required) include or exclude
Allowed values: "include", "exclude"
--fileConfig-files strings Specification on where to fetch the files for. This is required when the type == 'file'. Only one of path and files can be set. Path takes precedence if both are provided.
--fileConfig-folder string Root folder for traversing.
--fileConfig-scope-depth int (Required) The number of levels of sub folders that should be considered
--fileConfig-scope-extensions strings list of file extensions to be considered
--fileConfig-scope-maxFilesPerFolder int Maximum number of files per folder that should be considered
--fileConfig-scope-maxFilesTotal int Total number of files that should be considered
--fileConfig-scope-maxSize int Optional parameter. Max size of downloaded files in bytes
--fileConfig-scope-modifiedAfter string only files modified after this time should be indexed. If set older files will be removed from index.
--fileConfig-userId string (Required) userId of the owner of the datasource fileConfig
-h, --help help for update
--id-in-body string (Required) Unique identifier of the datasource
--interval int Duration in seconds to wait between retries, at least 1 (default 1)
--knowledgebaseId string (Required) The id of a knowledgebase.
--name string Name of the datasource
-q, --quiet Return only IDs from the command
--raw Return original response from server without any processing
--retry int Number of retries to do before failing, max 10
--sourceCount int The number of times that a datasource was referenced as a source in an answer
--spaceId string The unique identifier of the space containing the datasource
--syncInfo-lastSyncId string sync Id
--type string (Required)
Allowed values: "file", "web", "database"

Options inherited from parent commands

-c, --config string path/to/config.yml where parameters can be set instead of on the command line
--context string Name of the context used when connecting to Qlik Associative Engine
--headers stringToString HTTP headers to use when connecting to Qlik Associative Engine (default [])
--insecure Allow connecting to hosts with self-signed certificates
--json Returns output in JSON format, if possible. Disables verbose and traffic output
-s, --server string URL to Qlik Cloud or directly to a Qlik Associative Engine
--server-type string The type of server you are using: cloud, Windows (Enterprise on Windows) or engine
-v, --verbose Log extra information
Was this page helpful?