Amazon CloudWatch Logs

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, AWS CloudTrail, Route 53, and other sources.

CloudWatch Logs enables you to centralize the logs from all of your systems, applications, and AWS services that you use, in a single, highly scalable service. You can then easily view them, search them for specific error codes or patterns, filter them based on specific fields, or archive them securely for future analysis. CloudWatch Logs enables you to see all of your logs, regardless of their source, as a single and consistent flow of events ordered by time, and you can query them and sort them based on other dimensions, group them by specific fields, create custom computations with a powerful query language, and visualize log data in dashboards.

Below are the cmdlets which are available with Amazon CloudWatch Logs

CmdletName                                      ServiceOperation                          
Add-CWLLogGroupTag                                 TagLogGroup                                   
Get-CWLDestination                                 DescribeDestinations                          
Get-CWLExportTask                                  DescribeExportTasks                           
Get-CWLFilteredLogEvent                            FilterLogEvents                               
Get-CWLLogEvent                                    GetLogEvents                                  
Get-CWLLogGroup                                    DescribeLogGroups                             
Get-CWLLogGroupField                               GetLogGroupFields                             
Get-CWLLogGroupTag                                 ListTagsLogGroup                              
Get-CWLLogRecord                                   GetLogRecord                                  
Get-CWLLogStream                                   DescribeLogStreams                            
Get-CWLMetricFilter                                DescribeMetricFilters                         
Get-CWLQuery                                       DescribeQueries                               
Get-CWLQueryDefinition                             DescribeQueryDefinitions                      
Get-CWLQueryResult                                 GetQueryResults                               
Get-CWLResourcePolicy                              DescribeResourcePolicies                      
Get-CWLSubscriptionFilter                          DescribeSubscriptionFilters                   
New-CWLExportTask                                  CreateExportTask                              
New-CWLLogGroup                                    CreateLogGroup                                
New-CWLLogStream                                   CreateLogStream                               
Register-CWLKmsKey                                 AssociateKmsKey                               
Remove-CWLDestination                              DeleteDestination                             
Remove-CWLLogGroup                                 DeleteLogGroup                                
Remove-CWLLogGroupTag                              UntagLogGroup                                 
Remove-CWLLogStream                                DeleteLogStream                               
Remove-CWLMetricFilter                             DeleteMetricFilter                            
Remove-CWLQueryDefinition                          DeleteQueryDefinition                         
Remove-CWLResourcePolicy                           DeleteResourcePolicy                          
Remove-CWLRetentionPolicy                          DeleteRetentionPolicy                         
Remove-CWLSubscriptionFilter                       DeleteSubscriptionFilter                      
Start-CWLQuery                                     StartQuery                                    
Stop-CWLExportTask                                 CancelExportTask                              
Stop-CWLQuery                                      StopQuery                                     
Test-CWLMetricFilter                               TestMetricFilter                              
Unregister-CWLKmsKey                               DisassociateKmsKey                            
Write-CWLDestination                               PutDestination                                
Write-CWLDestinationPolicy                         PutDestinationPolicy                          
Write-CWLLogEvent                                  PutLogEvents                                  
Write-CWLMetricFilter                              PutMetricFilter                               
Write-CWLQueryDefinition                           PutQueryDefinition                            
Write-CWLResourcePolicy                            PutResourcePolicy                             
Write-CWLRetentionPolicy                           PutRetentionPolicy                            
Write-CWLSubscriptionFilter                        PutSubscriptionFilter                         

You can also check other AWS Services, and each services cmdlets we are providing.

Click on this Link for an Single place, where you get all the PowerShell cmdlets sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft and AWS

Leave a Reply

Your email address will not be published. Required fields are marked *