Upgrad of Kibana,Elastic,LogStash to 7.6.0 72/7672/2
authorSumit Kaushik <sk00613223@TechMahindra.com>
Tue, 31 Mar 2020 11:24:21 +0000 (16:54 +0530)
committerVineet Tripathi <vt00325492@techmahindra.com>
Tue, 31 Mar 2020 13:02:17 +0000 (13:02 +0000)
ISSUE-ID : ACUMOS-4059,ACUMOS-4060,ACUMOS-4061

Kibana,Elastic,Logstash upgrade to 7.6.0

Change-Id: I4bad1b376ed5e237a808f9c1dfdf0d241bf79987
Signed-off-by: Sumit Kaushik <sk00613223@TechMahindra.com>
elk-client/src/main/java/org/acumos/elk/client/service/SnapshotRepositoryServiceImpl.java

index 3d9f985..0fb9ca2 100644 (file)
@@ -356,7 +356,7 @@ public class SnapshotRepositoryServiceImpl extends AbstractELKClientConnection i
                logger.debug("locationKey:{}" + locationKey);
                logger.debug("locationValue:{}" + locationValue);
                logger.debug("compressKey:{}" + compressKey);
-               boolean compressValue = true;
+               //boolean compressValue = false;
                if (repoType == ElkClientConstants.ARCHIVE_ES_DATA) {
                        request.name(
                                        ElkClientConstants.ARCHIVE_ES_DATA + "-" + elkCreateRepositoriesRequest.getRepositoryName().trim());
@@ -365,7 +365,8 @@ public class SnapshotRepositoryServiceImpl extends AbstractELKClientConnection i
                } else {
                        request.name(elkCreateRepositoriesRequest.getRepositoryName().trim());
                }
-               Settings settings = Settings.builder().put(locationKey, locationValue).put(compressKey, compressValue).build();
+               //Settings settings = Settings.builder().put(locationKey, locationValue).put(compressKey, compressValue).build();
+               Settings settings = Settings.builder().put(locationKey, locationValue).build();
                logger.debug("settings.size():{}" + settings.size());
                logger.debug("settings.toString():{}" + settings.toString());
                request.settings(settings);