public static Region<String, byte[]> createOrGetExistingExportLogsRegion(
      boolean isInitiatingMember,
      InternalCache cache) {

    InternalCacheForClientAccess cacheForClientAccess = cache.getCacheForProcessingClientRequests();
    Region<String, byte[]> exportLogsRegion =
        cacheForClientAccess.getInternalRegion(EXPORT_LOGS_REGION);
    if (exportLogsRegion == null) {
      InternalRegionFactory<String, byte[]> regionFactory =
          cacheForClientAccess.createInternalRegionFactory(RegionShortcut.REPLICATE_PROXY);
      if (isInitiatingMember) {
        regionFactory.setCacheWriter(new ExportLogsCacheWriter());
      }
      regionFactory.setIsUsedForMetaRegion(true);
      exportLogsRegion = regionFactory.create(EXPORT_LOGS_REGION);
    }

    return exportLogsRegion;
  }
this function extracts the logs using a LogExporter which creates a zip file, and then writes the
zip file bytes into a replicated region, this in effect, "stream" the zip file bytes to the
locator

The function only extracts .log and .gfs files under server's working directory
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/functions/ExportLogsFunction.java