# merge splogfile correlation id start time end time

- Link: https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/
- Published: 2020-05-29T15:34:51+05:30
- Author: Deviprasad Panda

In this post we will discuss how to merge splogfile correlation id start time end
time. If you need to find all log files insharepoint between certain time duration
with in which you think issue happened you can use these powershell commands. If
you enabled verbose logging for certain durataion in sharepoint server, then if 
is very useful. Analyzing or [managing sharepoint logs](https://sharepointtechnicalsupport.com/log-management-open-source/)
out of too much log files and servers is very difficult. Sometimes its quite impossible
to go each server and check the log file. Using powershell, we can gather all logs
in sharepoint servers at a single place in a single file. This will be easy to analyze
by using sharepoint log viewer. Therefore we will use powershell to merge sharepoint
log file of multiple sharepoint servers at once place.

 Advertisements

## merge splogfile by correlation id

Follow the powershell commands below to merge or gather or find all [logs ](https://docs.microsoft.com/en-us/sharepoint/administration/view-diagnostic-logs)
files from all sharepoint servers at a single place.

    ```wp-block-code
    Merge-SPLogFile -Path "location to save file" -overwrite -Message "*<scope>*" -Correlation "<correlation id>"
    Merge-SPLogFile -Path "C:\MergeLogFileByCorrelationID.log" -overwrite -Message "*monitored*" -Correlation "8a16579f-1d6f-208b-cc49-1604fc0dbc86" #scope included
    ```

    ```wp-block-code
    Merge-SPLogFile -Path "C:\MergeLogFileByCorrelationidNoScope.log" -Correlation "8a16579f-1d6f-208b-cc49-1604fc0dbc86" #No Scope included
    ```

 Advertisements

## merge splogfile by start time end time

Follow the powershell commands below to merge or gather or find all logs files from
all sharepoint servers by timestamp means to find log files created between a praticular
duration of time.

    ```wp-block-code
    Merge-SPLogFile -Path "C:\MergelogDateTime.log" -overwrite -StartTime "5/29/2020 12:20:57 PM" -EndTime "5/29/2020 12:40:57 PM"
    ```

 Advertisements

Follow the video to get more detail step by step in visual view for better understanding.

merge splogfile by correlation id | start time end time in sharepoint logs using
powershell

 Advertisements

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?subject=%5BShared%20Post%5D%20merge%20splogfile%20correlation%20id%20start%20time%20end%20time&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2020%2F05%2F29%2Fmerge-splogfile-correlation-id-start-time-end-time%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2020/05/29/merge-splogfile-correlation-id-start-time-end-time/?share=pinterest)

### Like this:

Like Loading…

### _Related_
