Class SupportBundleService
java.lang.Object
org.graylog2.rest.resources.system.debug.bundle.SupportBundleService
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSupportBundleService
(ExecutorService executor, NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, Path dataDir, ObjectMapperProvider objectMapperProvider, ClusterStatsService clusterStatsService, VersionProbe searchDbProbe, List<URI> searchDbHosts, ClusterAdapter searchDbClusterAdapter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildBundle
(javax.ws.rs.core.HttpHeaders httpHeaders, org.apache.shiro.subject.Subject currentSubject) void
deleteBundle
(String filename) void
downloadBundle
(String filename, OutputStream outputStream) void
loadLogFileStream
(LogFile logFile, OutputStream outputStream)
-
Field Details
-
LOGFILE_ENUMERATION_RANGE
public static final int LOGFILE_ENUMERATION_RANGE- See Also:
-
SUPPORT_BUNDLE_DIR_NAME
- See Also:
-
CALL_TIMEOUT
-
BUNDLE_NAME_PREFIX
- See Also:
-
IN_MEMORY_LOGFILE_ID
- See Also:
-
LOG_COLLECTION_SIZE_LIMIT
public static final long LOG_COLLECTION_SIZE_LIMIT- See Also:
-
-
Constructor Details
-
Method Details
-
buildBundle
public void buildBundle(javax.ws.rs.core.HttpHeaders httpHeaders, org.apache.shiro.subject.Subject currentSubject) -
getManifest
-
loadLogFileStream
- Throws:
IOException
-
listBundles
-
downloadBundle
- Throws:
IOException
-
deleteBundle
- Throws:
IOException
-