Too many small segments getting created

for most of indices we are seeing this issue. refresh interval set in default mapping which will be applicable to all indices. Please find the index settings applied for a index:

  "index" : {
    "refresh_interval" : "30s",
    "translog" : {
      "sync_interval" : "30s",
      "durability" : "async"
    },
    "auto_expand_replicas" : "false",
    "provided_name" : "log_instance-demo-2020.05.20",
    "creation_date" : "1589932961715",
    "priority" : "100",
    "number_of_replicas" : "0",
    "uuid" : "E1Jyyi-xTKiSH-jyuVCWFQ",
    "version" : {
      "created" : "7040299"
    },
    "lifecycle" : {
      "name" : "log_h_w2_d4"
    },
    "codec" : "best_compression",
    "routing" : {
      "allocation" : {
        "require" : {
          "box_type" : "hot"
        }
      }
    },
    "number_of_shards" : "6"
  }