<?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 Re: field extract help in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/field-extract-help/m-p/498096#M8964</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="payload : {\"nodeId\":34567,\"cycleCode\":10}" 
| rex field=temp "payload\s:\s\{\"nodeId\"\:(?P&amp;lt;nodeId&amp;gt;[^,]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="payload : {\"nodeId\":34567,\"cycleCode\":10}" 
| rex field=temp "payload\s:\s\{\"nodeId\"\:(?P&amp;lt;nodeId&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 20 Mar 2020 02:22:59 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2020-03-20T02:22:59Z</dc:date>
    <item>
      <title>field extract help</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/field-extract-help/m-p/498095#M8963</link>
      <description>&lt;P&gt;payload : {"nodeId":34567,"cycleCode":10}&lt;BR /&gt;
someone please help me in how to extract nodeID&lt;/P&gt;

&lt;P&gt;i tried like this :&lt;/P&gt;

&lt;P&gt;rex field=_raw "\"nodeId\"\s:\s(?P)"&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 01:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/field-extract-help/m-p/498095#M8963</guid>
      <dc:creator>valpravin</dc:creator>
      <dc:date>2020-03-20T01:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: field extract help</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/field-extract-help/m-p/498096#M8964</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="payload : {\"nodeId\":34567,\"cycleCode\":10}" 
| rex field=temp "payload\s:\s\{\"nodeId\"\:(?P&amp;lt;nodeId&amp;gt;[^,]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval temp="payload : {\"nodeId\":34567,\"cycleCode\":10}" 
| rex field=temp "payload\s:\s\{\"nodeId\"\:(?P&amp;lt;nodeId&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Mar 2020 02:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/field-extract-help/m-p/498096#M8964</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-03-20T02:22:59Z</dc:date>
    </item>
  </channel>
</rss>

