...
notifications.log
sanitized_config.json
(A possible example of what it may look liketruncated example)
Code Block | ||
---|---|---|
| ||
{ "ServiceSettings": { "SiteURL": "http://localhost:8065", "WebsocketURL": null, "LicenseFileLocation": null, "ListenAddress": ":8065", "ConnectionSecurity": "", "TLSCertFile": "", "TLSKeyFile": "", "TLSMinVer": null, "TLSStrictTransport": null, "TLSStrictTransportMaxAge": null, "TLSOverwriteCiphers": null, "UseLetsEncrypt": false, "LetsEncryptCertificateCacheFile": "./config/letsencrypt.cache", "Forward80To443": false, "TrustedProxyIPHeader": null, "ReadTimeout": 300, "WriteTimeout": 300, "IdleTimeout": null, "MaximumLoginAttempts": 10, "GoroutineHealthThreshold": null, "GoogleDeveloperKey": "", "EnableOAuthServiceProvider": false, "EnableIncomingWebhooks": true, "EnableOutgoingWebhooks": true, "EnableCommands": true, "EnableOnlyAdminIntegrations": null, "EnablePostUsernameOverride": false, "EnablePostIconOverride": false, "EnableLinkPreviews": false, "EnableTesting": false, "EnableDeveloper": true, "EnableOpenTracing": null, "EnableSecurityFixAlert": true, "EnableInsecureOutgoingConnections": false, "AllowedUntrustedInternalConnections": "localhost,", "EnableMultifactorAuthentication": false, "EnforceMultifactorAuthentication": false, "EnableUserAccessTokens": false, "AllowCorsFrom": "", "CorsExposedHeaders": "", "CorsAllowCredentials": false, "CorsDebug": false, "AllowCookiesForSubdomains": null, "ExtendSessionLengthWithActivity": true, "SessionLengthWebInDays": 30, "SessionLengthMobileInDays": 30, "SessionLengthSSOInDays": 30, "SessionCacheInMinutes": 10, "SessionIdleTimeoutInMinutes": 43200, "WebsocketSecurePort": null, "WebsocketPort": null, "WebserverMode": "gzip", "EnableCustomEmoji": false, "EnableEmojiPicker": true, "EnableGifPicker": false, "GfycatApiKey": "2_KtH_W5", "GfycatApiSecret": "********************************", "RestrictCustomEmojiCreation": null, "RestrictPostDelete": null, "AllowEditPost": null, "PostEditTimeLimit": -1, "TimeBetweenUserTypingUpdatesMilliseconds": null, "EnablePostSearch": null, "MinimumHashtagLength": 3, "EnableUserTypingMessages": null, "EnableChannelViewedMessages": null, "EnableUserStatuses": null, "ExperimentalEnableAuthenticationTransfer": null, "ClusterLogTimeoutMilliseconds": null, "CloseUnusedDirectMessages": null, "EnablePreviewFeatures": null, "EnableTutorial": null, "ExperimentalEnableDefaultChannelLeaveJoinMessages": null, "ExperimentalGroupUnreadChannels": null, "ExperimentalChannelOrganization": null, "ExperimentalChannelSidebarOrganization": null, "ImageProxyType": null, "ImageProxyURL": null, "ImageProxyOptions": null, "EnableAPITeamDeletion": null, "EnableAPIUserDeletion": null, "ExperimentalEnableHardenedMode": null, "DisableLegacyMFA": null, "ExperimentalStrictCSRFEnforcement": null, "EnableEmailInvitations": true, "DisableBotsWhenOwnerIsDeactivated": true, "EnableBotAccountCreation": true, "EnableSVGs": true, "EnableLatex": false, "EnableAPIChannelDeletion": null, "EnableLocalMode": null, "LocalModeSocketLocation": null, "EnableAWSMetering": null, "SplitKey": "********************************", "FeatureFlagSyncIntervalSeconds": 30, "DebugSplit": false, "ThreadAutoFollow": null, "CollapsedThreads": null, "ManagedResourcePaths": "" }, "TeamSettings": { "SiteName": "Mattermost", "MaxUsersPerTeam": 100, "EnableTeamCreation": null, "EnableUserCreation": true, "EnableOpenServer": true, "EnableUserDeactivation": null, "RestrictCreationToDomains": "", "EnableCustomBrand": false, "CustomBrandText": "", "CustomDescriptionText": "", "RestrictDirectMessage": "any", "RestrictTeamInvite": null, "RestrictPublicChannelManagement": null, "RestrictPrivateChannelManagement": null, "RestrictPublicChannelCreation": null, "RestrictPrivateChannelCreation": null, "RestrictPublicChannelDeletion": null, "RestrictPrivateChannelDeletion": null, "RestrictPrivateChannelManageMembers": null, "EnableXToLeaveChannelsFromLHS": null, "UserStatusAwayTimeout": null, "MaxChannelsPerTeam": 2000, "MaxNotificationsPerChannel": 1000000, "EnableConfirmNotificationsToChannel": true, "TeammateNameDisplay": "username", "ExperimentalViewArchivedChannels": false, "ExperimentalEnableAutomaticReplies": null, "ExperimentalHideTownSquareinLHS": null, "ExperimentalTownSquareIsReadOnly": null, "LockTeammateNameDisplay": false, "ExperimentalPrimaryTeam": null, "ExperimentalDefaultChannels": null }, "ClientRequirementsSqlSettings": { "AndroidLatestVersionDriverName": "postgres", "AndroidMinVersionDataSource": "********************************", "DesktopLatestVersionDataSourceReplicas": ""[], "DesktopMinVersionDataSourceSearchReplicas": ""[], "IosLatestVersionMaxIdleConns": ""20, "IosMinVersionConnMaxLifetimeMilliseconds": ""3600000, }, "SqlSettingsMaxOpenConns": {300, "DriverNameTrace": "postgres"false, "DataSourceAtRestEncryptKey": "********************************", "QueryTimeout": 30, "DisableDatabaseSearch": false }, "FileSettings": { "EnableFileAttachments": true, "DataSourceReplicasEnableMobileUpload": []true, "DataSourceSearchReplicasEnableMobileDownload": []true, "MaxIdleConnsMaxFileSize": 2052428800, "ConnMaxLifetimeMillisecondsDriverName": 3600000"local", "MaxOpenConnsDirectory": 300"./data/", "TraceEnablePublicLink": false, "AtRestEncryptKeyPublicLinkSalt": "********************************", "QueryTimeoutInitialFont": 30, "DisableDatabaseSearch": false }, "LogSettings": { "EnableConsole": true"nunito-bold.ttf", "AmazonS3AccessKeyId": "", "ConsoleLevelAmazonS3SecretAccessKey": "INFO", "ConsoleJsonAmazonS3Bucket": true, "EnableFile": true, "FileLevelAmazonS3PathPrefix": "INFO", "FileJsonAmazonS3Region": true"", "FileLocationAmazonS3Endpoint": "s3.amazonaws.com", "EnableWebhookDebuggingAmazonS3SSL": true, "EnableDiagnosticsAmazonS3SignV2": truefalse, "EnableSentryAmazonS3SSE": false, "AdvancedLoggingConfigAmazonS3Trace": ""false }, "ExperimentalAuditSettingsEmailSettings": { "FileEnabledEnableSignUpWithEmail": nulltrue, "FileNameEnableSignInWithEmail": nulltrue, "FileMaxSizeMBEnableSignInWithUsername": nulltrue, "FileMaxAgeDaysSendEmailNotifications": nulltrue, "FileMaxBackupsUseChannelInEmailNotifications": null, "FileCompressRequireEmailVerification": nullfalse, "FileMaxQueueSizeFeedbackName": null, "AdvancedLoggingConfig": null, }, "NotificationLogSettingsFeedbackEmail": { "EnableConsole": nulltest@example.com", "ConsoleLevelReplyToAddress": null, "ConsoleJson": nulltest@example.com", "EnableFileFeedbackOrganization": null, "FileLevel": null, "FileJsonEnableSMTPAuth": nulltrue, "FileLocationSMTPUsername": null, "AdvancedLoggingConfig":, null }, "PasswordSettingsSMTPPassword": { "MinimumLength": 5"********************************", "LowercaseSMTPServer": false"localhost", "NumberSMTPPort": false"10025", "UppercaseSMTPServerTimeout": falsenull, "SymbolConnectionSecurity": false }, "FileSettings": {, "EnableFileAttachmentsSendPushNotifications": true, "EnableMobileUploadPushNotificationServer": true"https://push-test.mattermost.com", "EnableMobileDownloadPushNotificationContents": true"generic", "MaxFileSizePushNotificationBuffer": 52428800null, "DriverNameEnableEmailBatching": "local"false, "DirectoryEmailBatchingBufferSize": "./data/"null, "EnablePublicLinkEmailBatchingInterval": falsenull, "PublicLinkSaltEnablePreviewModeBanner": "********************************"true, "InitialFontSkipServerCertificateVerification": "nunito-bold.ttf"false, "AmazonS3AccessKeyIdEmailNotificationContentsType": "full", "AmazonS3SecretAccessKeyLoginButtonColor": ""null, "AmazonS3BucketLoginButtonBorderColor": null, "LoginButtonTextColor": null }, "AmazonS3PathPrefixRateLimitSettings": { "Enable": false, "AmazonS3RegionPerSec": ""10, "AmazonS3EndpointMaxBurst": "s3.amazonaws.com"100, "AmazonS3SSLMemoryStoreSize": true10000, "AmazonS3SignV2VaryByRemoteAddr": falsetrue, "AmazonS3SSEVaryByUser": false, "AmazonS3TraceVaryByHeader": false"" }, "EmailSettingsPrivacySettings": { "EnableSignUpWithEmailShowEmailAddress": true, "EnableSignInWithEmailShowFullName": true }, "EnableSignInWithUsernameAnnouncementSettings": true,{ "SendEmailNotificationsEnableBanner": truefalse, "UseChannelInEmailNotificationsBannerText": null"", "RequireEmailVerificationBannerColor": false"#f2a93b", "FeedbackNameBannerTextColor": "#333333", "FeedbackEmail"AllowBannerDismissal": true, "AdminNoticesEnabled": false, "test@example.com"UserNoticesEnabled": false, "ReplyToAddressNoticesURL": "test@examplehttps://notices.mattermost.com/", "FeedbackOrganizationNoticesFetchFrequency": 3600, "NoticesSkipCache": false }, "ThemeSettings": { "EnableSMTPAuthEnableThemeSelection": truenull, "SMTPUsernameDefaultTheme": null, "AllowCustomThemes": null, "SMTPPasswordAllowedThemes": null }, "********************************", "GitLabSettings": { "SMTPServerEnable": "localhost"false, "SMTPPortSecret": "10025", "SMTPServerTimeoutId": null"", "ConnectionSecurityScope": "", "SendPushNotificationsAuthEndpoint": true"", "PushNotificationServerTokenEndpoint": "https://push-test.mattermost.com", "PushNotificationContentsUserApiEndpoint": "generic", "PushNotificationBufferDiscoveryEndpoint": null"", "EnableEmailBatchingButtonText": false"", "EmailBatchingBufferSizeButtonColor": null, "EmailBatchingInterval": null }, "EnablePreviewModeBannerGoogleSettings": true,{ "SkipServerCertificateVerificationEnable": false, "EmailNotificationContentsTypeSecret": "full", "LoginButtonColorId": null, "LoginButtonBorderColor": null, "LoginButtonTextColorScope": null }"profile email", "RateLimitSettingsAuthEndpoint": { "Enable": false"https://accounts.google.com/o/oauth2/v2/auth", "PerSecTokenEndpoint": 10, "MaxBurst": 100"https://www.googleapis.com/oauth2/v4/token", "MemoryStoreSizeUserApiEndpoint": 10000"https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata", "VaryByRemoteAddrDiscoveryEndpoint": true"https://accounts.google.com/.well-known/openid-configuration", "VaryByUserButtonText": false"", "VaryByHeaderButtonColor": "" }, "PrivacySettingsOpenIdSettings": { "ShowEmailAddressEnable": truefalse, "ShowFullNameSecret": true"", }, "SupportSettingsId": {"", "TermsOfServiceLinkScope": "https://about.mattermost.com/default-terms/profile openid email", "PrivacyPolicyLinkAuthEndpoint": "https://about.mattermost.com/default-privacy-policy/", "AboutLinkTokenEndpoint": "https://about.mattermost.com/default-about/", "HelpLinkUserApiEndpoint": "https://about.mattermost.com/default-help/", "ReportAProblemLinkDiscoveryEndpoint": "https://about.mattermost.com/default-report-a-problem/"", "SupportEmailButtonText": "feedback@mattermost.com", "CustomTermsOfServiceEnabledButtonColor": null, "CustomTermsOfServiceReAcceptancePeriod#145DBF": null }, "EnableAskCommunityLinkLdapSettings": true{ }, "AnnouncementSettingsEnable": {true, "EnableBannerEnableSync": false, "BannerTextLdapServer": "localhost", "BannerColorLdapPort": "#f2a93b"389, "BannerTextColorConnectionSecurity": "#333333", "AllowBannerDismissalBaseDN": true"dc=mm,dc=test,dc=com", "AdminNoticesEnabledBindUsername": false,"cn=admin,dc=mm,dc=test,dc=com", "UserNoticesEnabledBindPassword": false"********************************", "NoticesURLUserFilter": "https://notices.mattermost.com/", "NoticesFetchFrequencyGroupFilter": 3600"", "NoticesSkipCacheGuestFilter": false"", }, "ThemeSettingsEnableAdminFilter": {null, "EnableThemeSelectionAdminFilter": null, "DefaultThemeGroupDisplayNameAttribute": null, "AllowCustomThemes": null, "AllowedThemes": null }, "GitLabSettings": { "Enable": false, "Secret": "", "Id": "", "Scope": "", "AuthEndpoint": "", "TokenEndpoint": "", "UserApiEndpoint": "", "DiscoveryEndpoint": "", "ButtonText": "", "ButtonColor": "" }, "GoogleSettings": { "Enable": false, "Secret": "", "Id": "", "Scope": "profile email", "AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth", "TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token", "UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata", "DiscoveryEndpoint": "https://accounts.google.com/.well-known/openid-configuration", "ButtonText": "", "ButtonColor": "" }, "Office365Settings": { "Enable": false, "Secret": "", "Id": "", "Scope": "User.Read", "AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "UserApiEndpoint": "https://graph.microsoft.com/v1.0/me", "DiscoveryEndpoint": "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration", "DirectoryId": "" }, "OpenIdSettings": { "Enable": false, "Secret": "", "Id": "", "Scope": "profile openid email", "AuthEndpoint": "", "TokenEndpoint": "", "UserApiEndpoint": "", "DiscoveryEndpoint": "", "ButtonText": "", "ButtonColor": "#145DBF" }, "LdapSettings": { "Enable": true, "EnableSync": false, "LdapServer": "localhost", "LdapPort": 389, "ConnectionSecurity": "", "BaseDN": "dc=mm,dc=test,dc=com", "BindUsername": "cn=admin,dc=mm,dc=test,dc=com", "BindPassword": "********************************", "UserFilter": "", "GroupFilter": "", "GuestFilter": "", "EnableAdminFilter": null, "AdminFilter": null, "GroupDisplayNameAttribute": "cn", "GroupIdAttribute": "entryUUID", "FirstNameAttribute": "cn", "LastNameAttribute": "sn", "EmailAttribute": "mail", "UsernameAttribute": "uid", "NicknameAttribute": "cn", "IdAttribute": "uid", "PositionAttribute": "sAMAccountType", "LoginIdAttribute": "uid", "PictureAttribute": "", "SyncIntervalMinutes": 10000, "SkipCertificateVerification": false, "PublicCertificateFile": "", "PrivateKeyFile": "", "QueryTimeout": 60, "MaxPageSize": 500, "LoginFieldName": "", "LoginButtonColor": "#0000", "LoginButtonBorderColor": "#2389D7", "LoginButtonTextColor": "#2389D7", "Trace": false }, "ComplianceSettings": { "Enable": null, "Directory": null, "EnableDaily": null }, "LocalizationSettings": { "DefaultServerLocale": "en", "DefaultClientLocale": "en", "AvailableLocales": "" }, "SamlSettings": { "Enable": false, "EnableSyncWithLdap": false, "EnableSyncWithLdapIncludeAuth": false, "IgnoreGuestsLdapSync": false, "Verify": true, "Encrypt": true, "SignRequest": false, "IdpUrl": "", "IdpDescriptorUrl": "", "IdpMetadataUrl": "", "ServiceProviderIdentifier": "http://localhost:8065/login/sso/saml", "AssertionConsumerServiceURL": "", "SignatureAlgorithm": "RSAwithSHA1", "CanonicalAlgorithm": "Canonical1.0", "ScopingIDPProviderId": "", "ScopingIDPName": "", "IdpCertificateFile": "saml-idp.crt", "PublicCertificateFile": "saml-public.crt", "PrivateKeyFile": "saml-private.key", "IdAttribute": "", "GuestAttribute": "", "EnableAdminAttribute": null, "AdminAttribute": null, "FirstNameAttribute": "", "LastNameAttribute": "", "EmailAttribute": "Email", "UsernameAttribute": "Username", "NicknameAttribute": "", "LocaleAttribute": "", "PositionAttribute": "", "LoginButtonText": "SAML", "LoginButtonColor": "#34a28b", "LoginButtonBorderColor": "#2389D7", "LoginButtonTextColor": "#ffffff" }, "NativeAppSettings": { "AppDownloadLink": "https://mattermost.com/download/#mattermostApps", "AndroidAppDownloadLink": "https://about.mattermost.com/mattermost-android-app/", "IosAppDownloadLink": "https://about.mattermost.com/mattermost-ios-app/" }, "ClusterSettings": { "Enable": false, "ClusterName": "", "OverrideHostname": "", "NetworkInterface": "", "BindAddress": "", "AdvertiseAddress": "", "UseIpAddress": true, "UseExperimentalGossip": false, "EnableExperimentalGossipEncryption": false, "ReadOnlyConfig": false, "GossipPort": 8074, "StreamingPort": 8075, "MaxIdleConns": 100, "MaxIdleConnsPerHost": 128, "IdleConnTimeoutMilliseconds": 90000 }, "MetricsSettings": { "Enable": false, "BlockProfileRate": 0, "ListenAddress": ":8067" }, "ExperimentalSettings": { "ClientSideCertEnable": null, "ClientSideCertCheck": null, "EnableClickToReply": null, "LinkMetadataTimeoutMilliseconds": null, "RestrictSystemAdmin": null, "UseNewSAMLLibrary": null, "CloudUserLimit": null, "CloudBilling": null, "EnableSharedChannels": null }, "AnalyticsSettings": { "MaxUsersForStatistics": null }, "ElasticsearchSettings": { "ConnectionUrl": "http://localhost:9200", "Username": "elastic", "Password": "********************************", "EnableIndexing": true, "EnableSearching": false, "EnableAutocomplete": false, "Sniff": false, "PostIndexReplicas": 1, "PostIndexShards": 1, "ChannelIndexReplicas": 1, "ChannelIndexShards": 1, "UserIndexReplicas": 1, "UserIndexShards": 1, "AggregatePostsAfterDays": 365, "PostsAggregatorJobStartTime": "03:00", "IndexPrefix": "", "LiveIndexingBatchSize": 1, "BulkIndexingTimeWindowSeconds": 3600, "RequestTimeoutSeconds": 30, "SkipTLSVerification": false, "Trace": "" }, "BleveSettings": { "IndexDir": null, "EnableIndexing": null, "EnableSearching": null, "EnableAutocomplete": null, "BulkIndexingTimeWindowSeconds": null }, "DataRetentionSettings": { "EnableMessageDeletion": null, "EnableFileDeletion": null, "MessageRetentionDays": null, "FileRetentionDays": null, "DeletionJobStartTime": null }, "MessageExportSettings": { "EnableExport": null, "ExportFormat": null, "DailyRunTime": null, "ExportFromTimestamp": null, "BatchSize": null, "DownloadExportResults": null, "GlobalRelaySettings": null }, "JobSettings": { "RunJobs": null, "RunScheduler": null }, "PluginSettings": { "Enable": true, "EnableUploads": true, "AllowInsecureDownloadUrl": false, "EnableHealthCheck": true, "Directory": "./plugins", "ClientDirectory": "./client/plugins", "Plugins": {}, "PluginStates": { "antivirus": { "Enable": false }, "com.mattermost.aws-sns": { "Enable": false }, "com.mattermost.nps": { "Enable": false }, "com.mattermost.plugin-channel-export": { "Enable": true }, "com.mattermost.plugin-incident-management": { "Enable": false }, "com.mattermost.plugin-incident-response": { "Enable": false }, "mattermost-autolink": { "Enable": false } }, "EnableMarketplace": true, "EnableRemoteMarketplace": true, "AutomaticPrepackagedPlugins": true, "RequirePluginSignature": false, "MarketplaceUrl": "https://api.integrations.mattermost.com", "SignaturePublicKeyFiles": [] }, "DisplaySettings": { "CustomUrlSchemes": [], "ExperimentalTimezone": null }, "GuestAccountsSettings": { "Enable": true, "AllowEmailAccounts": true, "EnforceMultifactorAuthentication"cn", "GroupIdAttribute": "entryUUID", "FirstNameAttribute": "cn", "LastNameAttribute": "sn", "EmailAttribute": "mail", "UsernameAttribute": "uid", "NicknameAttribute": "cn", "IdAttribute": "uid", "PositionAttribute": "sAMAccountType", "LoginIdAttribute": "uid", "PictureAttribute": "", "SyncIntervalMinutes": 10000, "SkipCertificateVerification": false, "RestrictCreationToDomainsPublicCertificateFile": "", }, "ImageProxySettingsPrivateKeyFile": {"", "EnableQueryTimeout": true60, "ImageProxyTypeMaxPageSize": "local"500, "RemoteImageProxyURLLoginFieldName": "", "RemoteImageProxyOptionsLoginButtonColor": "#0000" }, "CloudSettings": { "CWSUrlLoginButtonBorderColor": "https://customers.mattermost.com" }, "ImportSettings": { "Directory": null#2389D7", "LoginButtonTextColor": "#2389D7", "RetentionDaysTrace": nullfalse }, ... } |
Server OS:
In golang, we can use runtime.GOOS
to get the operating system which the server is running on.
...