<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to extract a specific work from Splunk logs? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614205#M106299</link>
    <description>&lt;P&gt;I would like to extract status value (i.e. 201) highlighted below using RegEx in the following link. However, it didn't work. Please advise&lt;/P&gt;
&lt;P&gt;&lt;A href="https://regex101.com/r/QIB8EG/1" target="_blank" rel="noopener"&gt;https://regex101.com/r/QIB8EG/1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Rex&amp;nbsp;\"status\":(?&amp;lt;status&amp;gt;[^\}])\",\"requestId\":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"level":"debug","message":"handler result : {\"body\":\"{\\\"numberOfProcessedRecords\\\":1}\",\"status\":&lt;STRONG&gt;201&lt;/STRONG&gt;}","requestId":"ecd06f97-975b-5faf-81a0-3431fb4d1070"}&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 20:11:19 GMT</pubDate>
    <dc:creator>Manth</dc:creator>
    <dc:date>2022-09-22T20:11:19Z</dc:date>
    <item>
      <title>How to extract a specific work from Splunk logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614205#M106299</link>
      <description>&lt;P&gt;I would like to extract status value (i.e. 201) highlighted below using RegEx in the following link. However, it didn't work. Please advise&lt;/P&gt;
&lt;P&gt;&lt;A href="https://regex101.com/r/QIB8EG/1" target="_blank" rel="noopener"&gt;https://regex101.com/r/QIB8EG/1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Rex&amp;nbsp;\"status\":(?&amp;lt;status&amp;gt;[^\}])\",\"requestId\":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{"level":"debug","message":"handler result : {\"body\":\"{\\\"numberOfProcessedRecords\\\":1}\",\"status\":&lt;STRONG&gt;201&lt;/STRONG&gt;}","requestId":"ecd06f97-975b-5faf-81a0-3431fb4d1070"}&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 20:11:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614205#M106299</guid>
      <dc:creator>Manth</dc:creator>
      <dc:date>2022-09-22T20:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract a specific work from splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614206#M106300</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249725"&gt;@Manth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\"status\\\":(?&amp;lt;status&amp;gt;\d+)&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/QIB8EG/2" target="_blank"&gt;https://regex101.com/r/QIB8EG/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 20:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614206#M106300</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-22T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract a specific work from splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614346#M106312</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;When I have my splunk query as below, I was expecting &lt;STRONG&gt;Status&lt;/STRONG&gt; in the SELECTED FIELDS, however, I don't see the Status filed in the left menu. Am I doing anything wrong here. Please advise.&lt;/P&gt;&lt;P&gt;index=application source="aws:lambda"&amp;nbsp; | rex "\\"status\\":(?&amp;lt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&amp;gt;\w+)}\""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 16:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614346#M106312</guid>
      <dc:creator>Manth</dc:creator>
      <dc:date>2022-09-23T16:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract a specific work from splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614393#M106316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249725"&gt;@Manth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you create a field using rex, by default you have this field in interesting fields not in Selected fields.&lt;/P&gt;&lt;P&gt;If you want it in Selected fields, you have to select it!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 21:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/614393#M106316</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-23T21:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract a specific work from splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/617583#M106628</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/617583#M106628</guid>
      <dc:creator>Manth</dc:creator>
      <dc:date>2022-10-18T20:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to extract a specific work from splunk logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/617655#M106631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249725"&gt;@Manth&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 06:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-a-specific-work-from-Splunk-logs/m-p/617655#M106631</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-19T06:18:32Z</dc:date>
    </item>
  </channel>
</rss>

