<commit_before># Secret will be used to sign session cookies, CSRF tokens and for other encryption utilities.
# It is highly recommended to change this value before running cerebro in production.
secret="{{.Values.manager_secret}}"

# Application base path
basePath = "/"

# Defaults to RUNNING_PID at the root directory of the app.
# To avoid creating a PID file set this value to /dev/null
#pidfile.path = "/var/run/cerebro.pid"
pidfile.path=/dev/null

# Rest request history max size per user
rest.history.size = 50 // defaults to 50 if not specified

# Path of local database file
#data.path: "/var/lib/cerebro/cerebro.db"
data.path = "./cerebro.db"

# not sure if this is maybe needed
# The application languages
# ~~~~~
#play.i18n.langs=["en"]

# A list of known hosts
hosts = [
  {
    host = "http://{{.Values.endpoint_host_internal}}:{{.Values.http_port}}"
    name = "{{ .Values.global.cluster }} elk cluster"
    auth = {
      username = "{{.Values.global.elk_elasticsearch_admin_user}}"
      password = "{{.Values.global.<PASSWORD>}}"
    }
  },
  {
    host = "http://elastiflow-master.elastiflow:9200"
    name = "{{ .Values.global.cluster }} elastiflow cluster"
    auth = {
      username = "{{.Values.global.elastiflow_admin_user}}"
      password = "{{.Values.global.elastiflow_<PASSWORD>_password}}"
    }
  }
]

# Authentication
auth = {
  type: ldap
  settings: {
    url = "ldaps://{{.Values.global.ldap.host}}:{{.Values.global.ldap.port}}"
    method = "simple"
    base-dn = "{{.Values.global.ldap.search_base_dbs}},{{.Values.global.ldap.suffix}}"
    bind-dn = "{{.Values.global.ldap.bind_dn}},{{.Values.global.ldap.suffix}}"
    bind-pw = "{{.Values.global.ldap.password}}"
    user-template = "%s@{{.Values.global.ldap.userdomain}}"
    group-search {
      user-attr = "sAMAccountName"
      user-attr-template = "%s"
      group = "memberOf={{.Values.global.ldap.user_group}},{{.Values.global.ldap.suffix}}"
    }
  }
}
<commit_msg>[es-manager] adding opensearch instance<commit_after># Secret will be used to sign session cookies, CSRF tokens and for other encryption utilities.
# It is highly recommended to change this value before running cerebro in production.
secret="{{.Values.manager_secret}}"

# Application base path
basePath = "/"

# Defaults to RUNNING_PID at the root directory of the app.
# To avoid creating a PID file set this value to /dev/null
#pidfile.path = "/var/run/cerebro.pid"
pidfile.path=/dev/null

# Rest request history max size per user
rest.history.size = 50 // defaults to 50 if not specified

# Path of local database file
#data.path: "/var/lib/cerebro/cerebro.db"
data.path = "./cerebro.db"

# not sure if this is maybe needed
# The application languages
# ~~~~~
#play.i18n.langs=["en"]

# A list of known hosts
hosts = [
  {
    host = "http://{{.Values.endpoint_host_internal}}:{{.Values.http_port}}"
    name = "{{ .Values.global.cluster }} elk cluster"
    auth = {
      username = "{{.Values.global.elk_elasticsearch_admin_user}}"
      password = "{{.Values.global.elk_elasticsearch_admin_password}}"
    }
  },
  {
    host = "http://elastiflow-master.elastiflow:9200"
    name = "{{ .Values.global.cluster }} elastiflow cluster"
    auth = {
      username = "{{.Values.global.elastiflow_admin_user}}"
      password = "{{.Values.global.elastiflow_admin_password}}"
    }
  },
  {
    host = "http://opensearch-logs-client:9200"
    name = "Opensearch Logs Cluster"
    auth = {
      username = "{{.Values.global.elk_elasticsearch_admin_user}}"
      password = "{{.Values.global.elk_elasticsearch_admin_password}}"
    }
  },
]

# Authentication
auth = {
  type: ldap
  settings: {
    url = "ldaps://{{.Values.global.ldap.host}}:{{.Values.global.ldap.port}}"
    method = "simple"
    base-dn = "{{.Values.global.ldap.search_base_dbs}},{{.Values.global.ldap.suffix}}"
    bind-dn = "{{.Values.global.ldap.bind_dn}},{{.Values.global.ldap.suffix}}"
    bind-pw = "{{.Values.global.ldap.password}}"
    user-template = "%s@{{.Values.global.ldap.userdomain}}"
    group-search {
      user-attr = "sAMAccountName"
      user-attr-template = "%s"
      group = "memberOf={{.Values.global.ldap.user_group}},{{.Values.global.ldap.suffix}}"
    }
  }
}

{'fraction_non_alphanumeric': 0.16204690831556504, 'fraction_numerical': 0.005685856432125089, 'mean_word_length': 3.4488935721812433, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2274415', 'n_tokens_mistral': 1487, 'n_tokens_neox': 1453, 'n_words': 304}