<commit_before>{
  "index_patterns": [ ".monitoring-beats-${monitoring.template.version}-*" ],
  "version": 6040099,
  "settings": {
    "index.number_of_shards": 1,
    "index.number_of_replicas": 0,
    "index.auto_expand_replicas": "0-1",
    "index.format": 6,
    "index.codec": "best_compression"
  },
  "mappings": {
    "doc": {
      "dynamic": false,
      "properties": {
        "beats_state": {
          "properties": {
            "beat": {
              "properties": {
                "host": {
                  "type": "keyword"
                },
                "name": {
                  "type": "keyword"
                },
                "type": {
                  "type": "keyword"
                },
                "uuid": {
                  "type": "keyword"
                },
                "version": {
                  "type": "keyword"
                }
              }
            },
            "state": {
              "properties": {
                "module": {
                  "properties": {
                    "count": {
                      "type": "long"
                    },
                    "names": {
                      "type": "keyword"
                    }
                  }
                }
              }
            },
            "timestamp": {
              "format": "date_time",
              "type": "date"
            }
          }
        },
        "beats_stats": {
          "properties": {
            "beat": {
              "properties": {
                "host": {
                  "type": "keyword"
                },
                "name": {
                  "type": "keyword"
                },
                "type": {
                  "type": "keyword"
                },
                "uuid": {
                  "type": "keyword"
                },
                "version": {
                  "type": "keyword"<commit_msg>Add new fields to monitoring template for Beats state (#32085) (#32273)<commit_after>{
  "index_patterns": [ ".monitoring-beats-${monitoring.template.version}-*" ],
  "version": 6040099,
  "settings": {
    "index.number_of_shards": 1,
    "index.number_of_replicas": 0,
    "index.auto_expand_replicas": "0-1",
    "index.format": 6,
    "index.codec": "best_compression"
  },
  "mappings": {
    "doc": {
      "dynamic": false,
      "properties": {
        "beats_state": {
          "properties": {
            "beat": {
              "properties": {
                "host": {
                  "type": "keyword"
                },
                "name": {
                  "type": "keyword"
                },
                "type": {
                  "type": "keyword"
                },
                "uuid": {
                  "type": "keyword"
                },
                "version": {
                  "type": "keyword"
                }
              }
            },
            "state": {
              "properties": {
                "beat": {
                  "properties": {
                    "name": {
                      "type": "keyword"
                    }
                  }
                },
                "host": {
                  "properties": {
                    "architecture": {
                      "type": "keyword"
                    },
                    "name": {
                      "type": "keyword"
                    },
                    "os": {
                      "properties": {
                        "build": {
                          "type": "keyword"
                        },
                        "family": {
                          "type": "keyword"
                        },
                        "platform": {
                          "type": "keyword"
                        },
                        "version": {
                          "type": "keyword"
                        }
                      }
                    }
                  }
                },
                "input": {
                  "properties": {
                    "count": {
                      "type": "long"
                    },
                    "names": {
                      "type": "keyword"
                    }
                  }
                },
                "module": {
                  "properties": {
                    "count": {
                      "type": "long"
                    },
                    "names": {
                      "type": "keyword"
                    }
                  }
                },
                "output": {
                  "properties": {
                    "name": {
                      "type": "keyword"
                    }
                  }
                },
                "service": {
                  "properties": {
                    "id": {
                      "type": "keyword"
                    },
                    "name": {
                      "type": "keyword"
                    },
                    "version": {
                      "type": "keyword"
                    }
                  }
                }
              }
            },
            "timestamp": {
              "format": "date_time",
              "type": "date"
            }
          }
        },
        "beats_stats": {
          "properties": {
            "beat": {
              "properties": {
                "host": {
                  "type": "keyword"
                },
                "name": {
                  "type": "keyword"
                },
                "type": {
                  "type": "keyword"
                },
                "uuid": {
                  "type": "keyword"
                },
                "version": {
                  "type": "keyword"
{'fraction_non_alphanumeric': 0.13279226385771023, 'fraction_numerical': 0.005871179416335693, 'mean_word_length': 0.617877094972067, 'pattern_counts': {'":': 140, '<': 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': '6645384', 'n_tokens_mistral': 1468, 'n_tokens_neox': 1304, 'n_words': 208}