> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConfigSync configuration reference

export const LwTemplate = ({title = "Key questions to get you started", icon = "sparkles", cta = "Powered by Agent Studio", linkHref = "https://lucidworks.com/demo/?utm_source=docs&utm_medium=referral&utm_campaign=docs_cta_ai"}) => {
  const [isLoaded, setIsLoaded] = useState(false);
  useEffect(() => {
    const timer = setTimeout(() => {
      setIsLoaded(true);
    }, 500);
    return () => clearTimeout(timer);
  }, []);
  return <div className="lw-template-container">
      <Card title={title} icon={icon}>
        {isLoaded && <span dangerouslySetInnerHTML={{
    __html: `<lw-template id="a029c1a9-28be-427e-b0e1-5d918920246a"></lw-template
            >`
  }} />}
        <Link href={linkHref} className="agent-studio-link text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light">Powered by Lucidworks Agent Studio</Link>
      </Card>
    </div>;
};

[old doc.lw link]: https//doc.lucidworks.com/fusion/5.9/ifv6st

[localhost link]: http://localhost:3000/docs/5/fusion/operations/config-sync/settings

[mintlify link]: https://doc.lucidworks.com/docs/5/fusion/operations/config-sync/settings

This topic provides a complete reference to the ConfigSync configuration options.

<LwTemplate />

```yaml wrap  theme={"dark"}
fusion-config-sync:

  # pub mode
  springProfilesOverride: "kubernetes,jwt,fusion,pub"
  # sub mode
  #springProfilesOverride: "kubernetes,jwt,fusion,sub"
  # pubsub mode
  #springProfilesOverride: "kubernetes,jwt,fusion,pub,sub"

  cfg:
    sync:
      apps: -cloud-platform # track all the apps except cloud-platform
    #  apps: "*" # track all the apps (default)
    #  apps: "app1,app2" # track only app1 and app2 apps
      syncEvery: 30000 # this setting controls how often we're running pub/sub job, 30000 milliseconds is a default

    # github connection properties, common for pub/sub modes
    github:
      repo: "https://github.com/mycompany/cloud-config-sync.git" # git repo, mandatory
      branch: "rh/stg" # git branch, mandatory
      dir: "/tmp/config-sync-repo" # repo dir, default "/tmp/config-sync-repo"
      path: / # configs path in the repo dir, default "/"
      username: "fusion-config-sync" # git user name, default "fusion-config-sync"
      email: "fusion-config-sync@mycompany.com" # git user email, mandatory, default "fusion-config-sync@lucidworks.com"
      secretPath: "/etc/secrets/github_oauth_token" # alternative location for github oauth token as a file
      githubToken: "token" # alternative way to specify github oauth token explicitly

    pub:
      checkForBlobUpdatesEveryMs: 20000 # blob aren't stored in zk but in solr so this setting controls how often should we check blob updates from solr, 20000 is a default
      checkForRuleUpdatesEveryMs: 300000 # rules aren't stored in zk but in solr so this setting controls how often should we check rule updates from solr, 300000 is a default
      objects:
        decode-secrets: false # shall ConfigSync not decode secrets like s3 private keys, JDBC passwords etc.
        name-filter: ".*_lw_tmp.*" # filter tmp file names
        # filter audit properties by json pointer
        prop-filter: >
          /created,
          /modified,
          /createdAt,
          /updatedAt,
          /updates
        apps:
          prop-filter: >
            /properties/previousCollectionId
        blobs:
          name-filter: "^(quickstart/|prefs-).+"
        collections:
          name-filter: "^system_.+"
        spark-jobs:
          # data-migration jobs
          name-filter: "^(import|export)_.+"
        tasks:
          # data-migration tasks
          name-filter: "^export_finalizer_.+"
        index-pipelines:
          prop-filter: >
            /properties/secretSourcePipelineId,
            /stages/secretSourceStageId,
            /stages/licensed
        query-pipelines:
          prop-filter: >
            /properties/secretSourcePipelineId,
            /stages/secretSourceStageId,
            /stages/licensed
    sub:
      objects:
        name-filter: ".*_lw_tmp.*" # filter tmp file names
    # add filters and other settings for the subscriber mode here
```
