<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nalini Dayma on Medium]]></title>
        <description><![CDATA[Stories by Nalini Dayma on Medium]]></description>
        <link>https://medium.com/@nalini.dayma?source=rss-5c73e64e122d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qfl_Rr9wmYsdnZ8wyrw0uQ@2x.jpeg</url>
            <title>Stories by Nalini Dayma on Medium</title>
            <link>https://medium.com/@nalini.dayma?source=rss-5c73e64e122d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 21:25:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nalini.dayma/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS CDK — IaC Made Easy]]></title>
            <link>https://medium.com/weareservian/aws-cdk-iac-made-easy-fd9fdfffb086?source=rss-5c73e64e122d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd9fdfffb086</guid>
            <category><![CDATA[cloudformation]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[aws-cdk]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Nalini Dayma]]></dc:creator>
            <pubDate>Sun, 08 Dec 2019 23:31:01 GMT</pubDate>
            <atom:updated>2019-12-09T11:53:00.642Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS CDK — IaC Made Easy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*77VTS80jZfzYPsCS" /><figcaption>Photo by <a href="https://unsplash.com/@_m_v_?utm_source=medium&amp;utm_medium=referral">_M_V_</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Infrastructure as Code (IAC) is a standard practice to define infrastructure components using source code. IaC enables us to provision &amp; maintain infrastructure in a repeatable and predictable manner. A common pattern is to use AWS CloudFormation templates for provisioning &amp; maintaining infrastructure stack in an automated fashion.</p><p>However, as more teams are embracing the “shift left movement” and “you build it, you own it” way-of-working, we need a more organic approach &amp; integrated tooling to facilitate easier IaC adoption for the wider developer community.</p><h3>CloudFormation Templates can be tricky</h3><p>Although CloudFormation Templates are widely used within the infra coders community, it comes with its challenges that make it tricky to adopt.</p><blockquote>CloudFormation templates are written in JSON format &amp; maintaining 1000s of lines of JSON code is not a pleasurable experience!</blockquote><blockquote>CloudFormation was not designed originally as a programming language &amp; it becomes quite tricky to write &amp; maintain with loops or conditional statements.</blockquote><blockquote>Working with CloudFormation needs a basic understanding of networking, security &amp; infrastructure building blocks which is often a new thing to learn for many developers &amp; becomes a roadblock on their AWS journey.</blockquote><blockquote>CloudFormation templates are often maintained separately from rest of the application code (unless using a Mono-Repo). It not only means separation of code but also the separation of CI/CD pipeline &amp; testing frameworks.</blockquote><h3>Introducing the AWS Cloud Development Kit (CDK)</h3><blockquote><strong>Have you ever thought of defining infrastructure in a familiar programming language?</strong></blockquote><blockquote><strong>Have you ever wished that your infrastructure code lived alongside your application code?</strong></blockquote><p>Well, AWS Cloud Development Kit (CDK) addresses these requirements by providing an easy plug-n-play software development framework.</p><p>CDK enables defining infrastructure &amp; application stack in programming languages like <strong>Python, Java, Typescript, .NET, and Javascript<em> </em></strong>&amp; deploys a fully functional application stack right from within a supported IDE (Integrated Development Environment) like Visual Studio Code.</p><p>It means you can leverage the rich features of programming languages like conditional statements, loops, modular &amp; reusable code.</p><blockquote>Abstracting away complexity by auto-generating CloudFormation Templates for you!</blockquote><p>AWS CDK offers simple commands that auto-generate a CloudFormation template based on your source code. You can then deploy this template to AWS account straight from your CLI or IDE using a humble cdk deploycommand!</p><h3>So, how does AWS CDK work?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0fLcGo2AI46d5O4G_szAIA.png" /></figure><p>AWS Cloud Development Kit works in 3 simple steps:</p><ol><li><strong>Write code in an editor of your choice — defining the cloud infrastructure<br></strong>AWS CDK framework is a collection of libraries which can be imported &amp; installed in your application project. For example, you can define AWS CDK libraries via pom.xml in a Java project. Various AWS resources are available as “Constructs” &amp; can be extended by importing their libraries/packages. For example for defining EC2 instance, simply import “software.amazon.awscdk.services.ec2” package. These constructs are grouped to form a “Stack” ( representing a CloudFormation Stack).</li><li><strong>Synthesize CloudFormation Template<br></strong>Compile source code &amp; run CDK commands to auto-generate CloudFormation template. For example, if you are using a Java project, then use Maven for compiling: mvn compile, mvn exec. AWS CDK automatically synthesizes the code into a CloudFormation Template. If you’re curious to see the contents of the template, then try running the cdk synth command &amp; checkout the auto-generated CloudFormation template!</li><li><strong>Provision | update | destroy infrastructure in AWS<br></strong>This auto-generated template is then used to provision the entire stack with thecdk deploy command in your AWS Account! When you’re done, you can safely destroy the whole stack with thecdk destroy command!</li></ol><h3>Using AWS CDK for Java!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*-2DRd0wqjssK_LF1K2cn6g.png" /></figure><p>Coming from a Java developer background, I thought to explore AWS CDK for Java. (I can be honest here, I like it better than writing JSON 😃). In the below example, you’ll learn how to launch a single EC2 instance within an AutoScaling group by writing a simple Java Class!</p><h4>Step 1: Prepping the IDE — VisualStudio Code &amp; Installing AWS CDK</h4><p>Before you can get started, you’ll need to install the “AWS ToolKit Extension” in VSCode Editor :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LYS_iXmyKvdGDZud49dQOw.png" /></figure><p>Once installed, check if you can connect to an AWS Account using this extension from within the VSCode Editor.(Note: it will use the default AWS Configuration, i.e. AccessKey/SecretKey &amp; default region configured under your local~/.aws/ directory ). Click on “View Menu “ &amp; select “Command Palette” option. Type/Select “AWS: Connect to AWS” to connect to your AWS account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTjqvqU1mNZ1LaMb5icaWg.png" /></figure><p>Next, you’ll need to install the AWS Cloud Development Kit (AWS CDK). It can be installed using the npm install -g aws-cdk command from the VSCode — terminal shell:</p><pre>nalinidayma@SVN-19-084 webappstack $  <strong>npm install -g aws-cdk</strong></pre><pre>/usr/local/bin/cdk -&gt; /usr/local/lib/node_modules/aws-cdk/bin/cdk</pre><pre>&gt; core-js@2.6.10 postinstall /usr/local/lib/node_modules/aws-cdk/node_modules/core-js<br>&gt; node postinstall || echo &quot;ignore&quot;</pre><pre>Thank you for using core-js ( <a href="https://github.com/zloirock/core-js">https://github.com/zloirock/core-js</a> ) for polyfilling JavaScript standard library!</pre><pre>The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: <br>&gt; <a href="https://opencollective.com/core-js">https://opencollective.com/core-js</a> <br>&gt; <a href="https://www.patreon.com/zloirock">https://www.patreon.com/zloirock</a></pre><pre>Also, the author of core-js ( <a href="https://github.com/zloirock">https://github.com/zloirock</a> ) is looking for a good job -)</pre><pre><strong>+ aws-cdk@1.18.0<br>added 235 packages from 227 contributors in 13.306s</strong></pre><h4>Step 2: A little Java code to define infrastructure stack</h4><p>This example shows a Java(1.8) project to provision an EC2 instance within an AutoScaling group. The project structure looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*dkB3pgDsGddTO1RsuAXtfA.png" /></figure><p>JavaWebApp.java =&gt; is the main Class which invokes the WebAppStack.java &amp; runs the synth command to auto-generate the CloudFormation Template:</p><pre>package stack.webapp;<br>import software.amazon.awscdk.core.App;</pre><pre>public class JavaWebApp {<br>    public static void main(final String[] args) {<br>        App app = new App();<br>        new WebAppStack(app, &quot;java-app-using-aws-cdk&quot;);<br>        app.synth();<br>    }<br>}</pre><p>WebAppStack.java =&gt; is the class that defines the infrastructure stack:</p><pre>package stack.webapp;<br>import java.util.Collections;<br>import java.util.List;<br>import software.amazon.awscdk.core.Construct;<br>import software.amazon.awscdk.core.Stack;<br>import software.amazon.awscdk.services.autoscaling.AutoScalingGroup;<br>import software.amazon.awscdk.services.ec2.AmazonLinuxImage;<br>import software.amazon.awscdk.services.ec2.InstanceType;<br>import software.amazon.awscdk.services.ec2.Vpc;</pre><pre>class WebAppStack extends Stack {<br>    public WebAppStack(final Construct parent, final String name) {<br>        super(parent, name);</pre><pre>        // Creating a new VPC<br>        Vpc vpc = Vpc.Builder.create(this, &quot;VPC&quot;).build();<br>        <br>        // Attaching VPC to AutoScalingGroup<br>        WebAutoScalingGrpProps webAsgProps = new WebAutoScalingGrpProps();<br>        webAsgProps.vpc = vpc;<br>        <br>        // Creating new object of WebAutoScalingGroup<br>        new WebAutoScalingGroup(this, &quot;WebAutoScalingGroup&quot;, webAsgProps);<br>    }<br>    <br>    // Extending abstract class Construct provided by AWS CDK<br>    static class WebAutoScalingGroup extends Construct {<br>        WebAutoScalingGroup(<br>            final Construct parent, final String name, final WebAutoScalingGrpProps props) {<br>            super(parent, name);<br>            <br>            // Using Builder to build AutoScalingGroup<br>            AutoScalingGroup.Builder.create(this, &quot;Compute&quot;)<br>                .instanceType(new InstanceType(&quot;t2.micro&quot;))<br>                .machineImage(new AmazonLinuxImage())<br>                .vpc(props.vpc)<br>                .minCapacity(1)<br>                .maxCapacity(1)<br>                .build();<br>        }<br>        <br>        static class WebAutoScalingGrpProps {<br>            public Vpc vpc;<br>        }<br>        <br>        <a href="http://twitter.com/Override">@Override</a><br>        public List &lt; String &gt; validate() {<br>            System.err.println(&quot;Validating WebAutoScalingGroup...&quot;);<br>            return Collections.emptyList();<br>        }<br>    }<br>}</pre><p>cdk.json =&gt; Instructs the CDK to invoke the JavaWebApp class, when thecdk deploy command is executed:</p><pre>{<br>   &quot;app&quot;:&quot;mvn exec:java -Dexec.mainClass=stack.webapp.JavaWebApp&quot;<br>}</pre><p>pom.xml =&gt; Used to define Maven(3.8.1) dependency libraries required in the project:</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;project<br> xmlns=&quot;<a href="http://maven.apache.org/POM/4.0.0">http://maven.apache.org/POM/4.0.0</a>&quot;<br> xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>&quot; xsi:schemaLocation=&quot;<a href="http://maven.apache.org/POM/4.0.0">http://maven.apache.org/POM/4.0.0</a> <a href="http://maven.apache.org/xsd/maven-4.0.0.xsd">http://maven.apache.org/xsd/maven-4.0.0.xsd</a>&quot;&gt;<br> &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;<br> &lt;groupId&gt;com.amazonaws.cdk&lt;/groupId&gt;<br> &lt;artifactId&gt;javawebapp&lt;/artifactId&gt;<br> &lt;version&gt;1.0.0&lt;/version&gt;<br> &lt;properties&gt;<br>  &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;<br> &lt;/properties&gt;<br> &lt;build&gt;<br>  &lt;plugins&gt;<br>   &lt;plugin&gt;<br>    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;<br>    &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;<br>    &lt;version&gt;3.8.1&lt;/version&gt;<br>    &lt;configuration&gt;<br>     &lt;source&gt;1.8&lt;/source&gt;<br>     &lt;target&gt;1.8&lt;/target&gt;<br>    &lt;/configuration&gt;<br>   &lt;/plugin&gt;<br>   &lt;plugin&gt;<br>    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;<br>    &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;<br>    &lt;version&gt;3.1.0&lt;/version&gt;<br>    &lt;configuration&gt;<br>     &lt;descriptorRefs&gt;<br>      &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;<br>     &lt;/descriptorRefs&gt;<br>     &lt;archive&gt;<br>      &lt;manifest&gt;<br>       &lt;mainClass&gt;stack.webapp.JavaWebApp&lt;/mainClass&gt;<br>      &lt;/manifest&gt;<br>     &lt;/archive&gt;<br>    &lt;/configuration&gt;<br>    &lt;executions&gt;<br>     &lt;execution&gt;<br>      &lt;id&gt;make-assembly&lt;/id&gt;<br>      &lt;!-- this is used for inheritance merges --&gt;<br>      &lt;phase&gt;package&lt;/phase&gt;<br>      &lt;!-- bind to the packaging phase --&gt;<br>      &lt;goals&gt;<br>       &lt;goal&gt;single&lt;/goal&gt;<br>      &lt;/goals&gt;<br>     &lt;/execution&gt;<br>    &lt;/executions&gt;<br>   &lt;/plugin&gt;<br>  &lt;/plugins&gt;<br> &lt;/build&gt;<br> &lt;dependencies&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;software.amazon.awscdk&lt;/groupId&gt;<br>   &lt;artifactId&gt;core&lt;/artifactId&gt;<br>   &lt;version&gt;[1.17.0.DEVPREVIEW, 2)&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;software.amazon.awscdk&lt;/groupId&gt;<br>   &lt;artifactId&gt;autoscaling&lt;/artifactId&gt;<br>   &lt;version&gt;[1.17.0.DEVPREVIEW, 2)&lt;/version&gt;<br>  &lt;/dependency&gt;<br>  &lt;dependency&gt;<br>   &lt;groupId&gt;software.amazon.awscdk&lt;/groupId&gt;<br>   &lt;artifactId&gt;ec2&lt;/artifactId&gt;<br>   &lt;version&gt;[1.17.0.DEVPREVIEW, 2)&lt;/version&gt;<br>  &lt;/dependency&gt;<br> &lt;/dependencies&gt;<br>&lt;/project&gt;</pre><h4>Step 3: That’s it! Let’s Deploy to AWS!</h4><p>Initialising the working directory from VSCode Editor — terminal:</p><h4>cdk init</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*faO2Yo--zqu4Gge9MACS7Q.png" /></figure><h4>mvn compile (only for Java projects)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-WmVZKt9KP8FLNS9jfaA_g.png" /></figure><h4>cdk deploy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkWn2eLsMXI5z2JEUE-3UQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOg4NGZqGA4nSO91s5zzQA.gif" /></figure><p>After the deploy is successful, you should see the provisioned CloudFormation Stack &amp; EC2 instance on the AWS Management console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ClE-h_HVmanX3pcaegVu1w.gif" /></figure><h4>Step-4: Remember to destroy!</h4><p>You can use thecdk destroy command to delete all AWS resources, so they don’t sit there costing you 💰</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pATgsEwxZ57xOPvZW8Ovyg.gif" /></figure><h3>Key Takeaways</h3><p>Happy infra coding in the choice of your programming language! AWS Cloud Development Kit (CDK) supports Python, Java, .Net/C#, Javascript, and Typescript.</p><p>Utilise standard programming language frameworks for coding, testing, building &amp; deploying. Modularise, build re-usable components using standard practices the way you would while developing a normal app!</p><p>Easier &amp; quicker onboarding to AWS platform for your teams!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd9fdfffb086" width="1" height="1" alt=""><hr><p><a href="https://medium.com/weareservian/aws-cdk-iac-made-easy-fd9fdfffb086">AWS CDK — IaC Made Easy</a> was originally published in <a href="https://medium.com/weareservian">Cognizant Servian</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[See it all with CloudWatch Logs Insights]]></title>
            <link>https://medium.com/weareservian/see-it-all-with-cloudwatch-logs-insights-5c7e7bab43d0?source=rss-5c73e64e122d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c7e7bab43d0</guid>
            <category><![CDATA[cloudwatch-logs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[lambda]]></category>
            <category><![CDATA[cloudwatch-logs-insights]]></category>
            <dc:creator><![CDATA[Nalini Dayma]]></dc:creator>
            <pubDate>Fri, 22 Nov 2019 06:01:03 GMT</pubDate>
            <atom:updated>2019-11-22T06:01:03.855Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KtCNDEgNcdiSrvd6C3yTFA.png" /></figure><p>In recent years, there’s been a huge shift in the way we provision, manage &amp; consume platform and application stack. As more teams embrace the AWS SaaS / fully managed service model than ever before, it’s a no brainer to have an AWS native single-pane solution to analyse and visualise logs &amp; metrics all in one place!</p><p>A variety of third party tools offer log analytics solution but these come with an overhead of agent installations, integration with existing AWS account to pull logs, up-skilling teams to use a new tool and more often a confusing pricing model.</p><p>AWS has recently launched <strong>CloudWatch Logs Insights</strong> to address these challenges so you can focus on generating valuable insights without managing any of the underlying platform. Many teams can benefit from this using the free tier meaning substantial cost savings for your organisation.</p><h4>Before we dive straight in…</h4><p>A quick look at your AWS eco-system will tell you, that every AWS service that you consume &amp; the applications you host on AWS managed platform produce large volumes of logs. For example S3 access logs, API gateway logs, VPC flow logs, Container logs, Lambda logs, CloudFront logs,CloudTrail audit logs &amp; your application logs.</p><p>These logs provide valuable insights not only from a Site Reliability perspective, but also the millions of data points can be queried &amp; mapped to generate immense business value like customer &amp; product usage patterns.</p><h4>What is CloudWatch Logs Insights?</h4><p>CloudWatch Logs Insights is a fully managed AWS service providing an interactive interface to query, analyse &amp; visualise all your log data, if it’s being logged to CloudWatch Logs.</p><p>This is available under the familiar CloudWatch Management Console!</p><blockquote>It’s a log-analytics capability native to AWS</blockquote><blockquote>Allows you to filter, query, perform aggregate operations like sum, average, percentile &amp; much more on all the logs sent to CloudWatch.</blockquote><blockquote>Allows you to render pretty graphical visualisations with no effort &amp; no code!</blockquote><h4>Let’s take a closer look…</h4><p>It currently supports variety of logs as long as they are logged in CloudWatch, such as: Amazon VPC flow logs, Route 53 logs, AWS Lambda logs, CloudTrail logs, any other logs in JSON format as well as container metrics (treated as custom metrics) .</p><p>So let’s take a look at how we can analyse some sample logs generated by lambda functions using CloudWatch Logs Insights.</p><p>The lambda functions publish logs grouped via CloudWatch log groups as shown below &amp; there’s a new “Insights” menu available under CloudWatch -&gt; Logs</p><figure><img alt="Click on Insights menu under CloudWatch console" src="https://cdn-images-1.medium.com/max/1024/1*-yc4xKt5ZlIx6Drd1yRaew.png" /></figure><p>The Logs Insights are also available on the Lambda Console, and can be accessed directly from lambda function’s console</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TmIOtO4DDWEJ0MRVrwMdiQ.png" /></figure><p>On the Insights console, we can analyse the logs using a search-query with commands like filter, stats, parse and drill deeper into individual log lines</p><p><strong>Gotcha:</strong></p><blockquote>You can render visualisations only when you use “Stats” or “Aggregation” functions like sum, count, min, max, average. A simple example is to query average memory consumed by the lambda function:</blockquote><blockquote><em>&lt; stats avg(@maxMemoryUsed / 1024 / 1024) as avgMemoryUsedMB by bin(5m) &gt;</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iNhrgAe8GyzB-tCK-h7Xqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HcJVou0M92hfsCTvZiQjqw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9RoZqoUfQZ6NsuL2T3qXIg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsnU5UrODKkaM0aumjWf9A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*JhHaKhTpPQDQpw3kqfVa3A.png" /></figure><p>Select “Add to a Dashboard” &amp; visualise log-data &amp; metrics within seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1kqDiv9iKfYQLlPhx6W8iQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zjLfxMLu7X52i7Q_Bjt0KA.png" /></figure><p>Note that CloudWatch automatically detects and provides default Lambda metrics like invocations, duration, memory usage, throttling of lambda and more. Both logs &amp; metrics can now be analysed &amp; correlated on single dashboard in AWS CloudWatch Console — all in one place!</p><p>Although the query language is simple &amp; intuitive, there could be a bit of learning curve for some. So, the easiest way is to get started with the pre-defined queries and auto-discovered fields provided by AWS.</p><h4>Key Takeaways</h4><blockquote>AWS CloudWatch Logs Insights offers an interactive AWS native solution for querying, analysing &amp; visualising large volumes of log-data published to CloudWatch Logs.</blockquote><blockquote>Only pay for the queries you’ve executed. The free tier includes 5GB of log data scanned by Logs Insights! Click here for <a href="https://aws.amazon.com/cloudwatch/pricing/">detailed pricing model</a>.</blockquote><blockquote>Logs Insights is valuable when troubleshooting &amp; resolving network &amp; application issues &amp; thereby helps reduce Mean Time To Identify (MTTI) &amp; Mean Time To Resolve (MTTR) the issue.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c7e7bab43d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/weareservian/see-it-all-with-cloudwatch-logs-insights-5c7e7bab43d0">See it all with CloudWatch Logs Insights</a> was originally published in <a href="https://medium.com/weareservian">Cognizant Servian</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>