Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Targets/Compound/ServerTriage.tkape
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
Description: A compound target for gathering artifacts common to servers.
Author: Eric Capuano
Version: 1.0
Version: 1.1
Id: 9bea625c-00bd-4389-a0a5-f648e8e267ce
RecreateDirectories: true
Targets:
-
Name: WebServers
Category: Compound
Path: WebServers.tkape
-
Name: MongoDB Logs
Category: Logs
Path: MongoDBLogs.tkape
-
Name: Exchange
Category: Compound
Expand All @@ -30,4 +34,5 @@ Targets:
Path: ManageEngineLogs.tkape

# Documentation
# v1.1 - Added MongoDB Logs target
# A Target to run on generic servers when their role is unknown. Includes common server applications.
44 changes: 44 additions & 0 deletions Targets/Logs/MongoDBLogs.tkape
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Description: MongoDB Log Files (Windows)
Author: Eric Capuano
Version: 1.0
Id: 2e5c341b-d10a-466d-a40e-abb478212e00
RecreateDirectories: true
Targets:
-
Name: MongoDB Logs (Program Files)
Category: Logs
Path: C:\Program Files\MongoDB\Server\*\log\
Recursive: true
FileMask: "*.log*"
Comment: "MongoDB log files in default MSI install log directory"
-
Name: MongoDB Logs (Program Files - logs folder)
Category: Logs
Path: C:\Program Files\MongoDB\Server\*\logs\
Recursive: true
FileMask: "*.log*"
Comment: "MongoDB log files when folder is named 'logs'"
-
Name: MongoDB Logs (C:\data\log)
Category: Logs
Path: C:\data\log\
Recursive: true
FileMask: "*.log*"
Comment: "Common default MongoDB log directory for manual installations"
-
Name: MongoDB Logs (ProgramData)
Category: Logs
Path: C:\ProgramData\MongoDB\log\
Recursive: true
FileMask: "*.log*"
Comment: "Log directory for MongoDB Windows service installations"
-
Name: MongoDB Logs (Alternate Install)
Category: Logs
Path: C:\MongoDB\log\
Recursive: true
FileMask: "*.log*"
Comment: "Common non-default install log directory"

# Documentation
# https://www.mongodb.com/docs/manual/reference/log-messages/