<commit_before>{
  "elastic": {
    "enabled": false,
    "intervalMin": 1,
    "host": "elasticsearch:9200",
    "keepAlive": true,
    "requestTimeout": 500000,
    "collections": [
      {
        "name": "cdr",
        "index": "cdr",
        "type": "collection",
        "fields": ["_id", "variables"],
        "_fn": "exportCollectionCdr"
      },
      {
        "name": "agentStatus",
        "index": "agentsstatus",
        "type": "collectionagents",
        "_fn": "exportUsersStatus1"
      }
    ],
    "templates": [
      {
        "name": "webitel",
        "body": {
          "template" : "cdr-*",
          "mappings": {
            "collection": {
              "dynamic_templates" : [
                {
                  "string_fields" : {
                    "path_match" : "variables.*",
                    "mapping" : {
                      "type" : "string",
                      "index" : "not_analyzed"
                    }
                  }
                },
                {
                  "notanalyzed": {
                    "match":              "*",
                    "mapping": {
                      "type":        "string",
                      "index":       "not_analyzed"
                    }
                  }
                }
              ],
              "properties": {
                "Location" : {
                  "type" : "geo_point"
                },
                "Call start time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Call answer time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Call direction": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Hangup cause": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "User ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Destination User": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Q850 Hangup Code": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Call duration": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Queue start time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue answer time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue stop time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue Answer Delay": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue call duration": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue connected call duration": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue Answered": {
                  "type": "boolean",
                  "index": "not_analyzed"
                },
                "Connected call duration": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Call end time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Bridge time": {
                  "type": "date",
                  "index" : "not_analyzed"
                },
                "Progress time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Agent ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Queue ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Destination number": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Call record duration": {
                  "type": "integer",
                  "index" : "not_analyzed"
                },
                "CallerID number": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Domain name": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Bridged": {
                  "type": "boolean",
                  "index" : "not_analyzed"
                },
                "Ring Duration": {
                  "type": "long"
                },
                "Before Bridge Delay": {
                  "type": "long"
                },
                "Post Dialing Delay": {
                  "type": "long"
                },
                "CreatedOnStorage": {
                  "type": "long",
                  "index" : "not_analyzed",
                  "norms" : {
                    "enabled" : false
                  }
                },
                "variables": {
                  "type": "object",
                  "properties": {
                    "start_stamp": {
                      "type": "date",
                      "format": "yyyy-MM-dd HH:mm:ss"
                    },
                    "answersec": {
                      "type": "long"
                    },
                    "billsec": {
                      "type": "long"<commit_msg>fix elastic CreatedOnStorage field<commit_after>{
  "elastic": {
    "enabled": false,
    "intervalMin": 1,
    "host": "elasticsearch:9200",
    "keepAlive": true,
    "requestTimeout": 500000,
    "collections": [
      {
        "name": "cdr",
        "index": "cdr",
        "type": "collection",
        "fields": ["_id", "variables"],
        "_fn": "exportCollectionCdr"
      },
      {
        "name": "agentStatus",
        "index": "agentsstatus",
        "type": "collectionagents",
        "_fn": "exportUsersStatus1"
      }
    ],
    "templates": [
      {
        "name": "webitel",
        "body": {
          "template" : "cdr-*",
          "mappings": {
            "collection": {
              "dynamic_templates" : [
                {
                  "string_fields" : {
                    "path_match" : "variables.*",
                    "mapping" : {
                      "type" : "string",
                      "index" : "not_analyzed"
                    }
                  }
                },
                {
                  "notanalyzed": {
                    "match":              "*",
                    "mapping": {
                      "type":        "string",
                      "index":       "not_analyzed"
                    }
                  }
                }
              ],
              "properties": {
                "Location" : {
                  "type" : "geo_point"
                },
                "Call start time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Call answer time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Call direction": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Hangup cause": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "User ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Destination User": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Q850 Hangup Code": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Call duration": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Queue start time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue answer time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue stop time": {
                  "type": "date",
                  "index": "not_analyzed"
                },
                "Queue Answer Delay": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue call duration": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue connected call duration": {
                  "type": "long",
                  "index": "not_analyzed"
                },
                "Queue Answered": {
                  "type": "boolean",
                  "index": "not_analyzed"
                },
                "Connected call duration": {
                  "type": "long",
                  "index" : "not_analyzed"
                },
                "Call end time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Bridge time": {
                  "type": "date",
                  "index" : "not_analyzed"
                },
                "Progress time": {
                  "type": "date",
                  "format": "yyyy-MM-dd HH:mm:ss",
                  "index" : "not_analyzed"
                },
                "Agent ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Queue ID": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Destination number": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Call record duration": {
                  "type": "integer",
                  "index" : "not_analyzed"
                },
                "CallerID number": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Domain name": {
                  "type": "string",
                  "index" : "not_analyzed"
                },
                "Bridged": {
                  "type": "boolean",
                  "index" : "not_analyzed"
                },
                "Ring Duration": {
                  "type": "long"
                },
                "Before Bridge Delay": {
                  "type": "long"
                },
                "Post Dialing Delay": {
                  "type": "long"
                },
                "CreatedOnStorage": {
                  "type": "long",
                  "store": "yes",
                  "include_in_all": false
                },
                "variables": {
                  "type": "object",
                  "properties": {
                    "start_stamp": {
                      "type": "date",
                      "format": "yyyy-MM-dd HH:mm:ss"
                    },
                    "answersec": {
                      "type": "long"
                    },
                    "billsec": {
                      "type": "long"
{'fraction_non_alphanumeric': 0.1342488555971702, 'fraction_numerical': 0.0024968789013732834, 'mean_word_length': 0.7675786996175346, 'pattern_counts': {'":': 218, '<': 3, '<?xml version=': 0, '>': 3, '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': '5181794', 'n_tokens_mistral': 3235, 'n_tokens_neox': 2867, 'n_words': 557}