<?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: Create New Field w/ Field Calculator (Regular Expression) between : in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128378#M571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pattern, it worked great! I still need to add the next step to create geometry and I'll work on that over the next couple of days. In the meantime, here is a sample of the xml for one placemark. I'm hoping to extract the speed and the time. We are in the Atlantic time zone so I'm guessing the time inside the "CDATA" tag is the best one for us to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;Placemark&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px; margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CH Unit # 5162 Cab # 71&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;address&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Main Street, New Brunswick, Canada&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/address&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;20/07/2017 10:37:01&amp;lt;br /&amp;gt; Lat/Lng: 46.174067, -65.886867&amp;lt;br /&amp;gt; Speed: 0.0 kph&amp;lt;br /&amp;gt; Altitude: 11.0 m&amp;lt;br /&amp;gt; Heading: 314&amp;amp;deg;&amp;lt;br /&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;TimeStamp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;when&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;2017-07-20T09:37:01-04:00&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/when&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/TimeStamp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;styleUrl&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;#asset18131&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/styleUrl&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Point&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;coordinates&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-65.8868666666667,46.1740666666667,11&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/coordinates&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Point&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;/Placemark&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 13:44:01 GMT</pubDate>
    <dc:creator>AllWeatherHeather</dc:creator>
    <dc:date>2017-07-20T13:44:01Z</dc:date>
    <item>
      <title>Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128365#M558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if using the field calculator (regular expression) is the function in GeoEvents I should be using to accomplish what I need so let me try and explain. I have geoevents recieving a JSON REST endpoint that contains data that looks like/similar to the below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #e23d39;"&gt; "record"&lt;/SPAN&gt; : {&lt;/P&gt;&lt;P&gt;&amp;nbsp; "ID" : "18",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "PARENT_RECORD_ID" : "0",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "PARENT_PAGE_ID" : "0",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "PARENT_ELEMENT_ID" : "0",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "CREATED_DATE" : "2016-06-29 17:43:32",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "CREATED_BY" : "username",&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;"CREATED_LOCATION" : "36.863681:42.992592&lt;/SPAN&gt;:557.165466:65.000000:18.446595:-1.000000:-1.000000:1467211407.825839",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "CREATED_DEVICE_ID" : "917f86ddc676fa0ef39f910c6460838d4451f0b8",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "MODIFIED_DATE" : "2016-06-29 17:43:34",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "MODIFIED_BY" : "username",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "MODIFIED_LOCATION" : "36.863681:42.992592:557.165466:65.000000:18.446595:-1.000000:-1.000000:1467211407.825839",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "MODIFIED_DEVICE_ID" : "917f86ddc676fa0ef39f910c6460838d4451f0b8",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "SERVER_MODIFIED_DATE" : "2016-06-29 17:43:38",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "project_number" : "8675309j",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "project_name" : "name of project",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "project_nickname" : "nickname",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "date_of_report" : "2016-06-29",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "data_type" : "completed_activity",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin_div_1" : "some_governorate",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin_div_2" : "Any_Town",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin_div_3" : "Any_Loc",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "admin_div_4" : "Any_where",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_benev_funding" : 204,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_benev_funding_male" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_benev_funding_female" : 204,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a91602" : 85,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a91602_male" : 28,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a91602_female" : 57,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_children_counseling" : 16,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_children_counseling_male" : 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_children_counseling_female" : 10,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_hhheads_seminars" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_hhheads_seminars_male" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_hhheads_seminars_female" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cohesion_activities" : 47,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cohesion_activities_male" : 18,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cohesion_activities_female" : 29,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90107" : 31,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90107_male" : 15,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90107_female" : 16,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90309" : 97,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90309_male" : 39,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90309_female" : 58,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90308" : 12,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90308_male" : 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a90308_female" : 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_leaders_trained" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_leaders_trained_male" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_leaders_trained_female" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cfs" : 40,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cfs_male" : 20,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_cfs_female" : 20,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_health_services" : 366,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_health_services_male" : 128,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_health_services_female" : 238,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_dental" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_dental_male" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_dental_female" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_obgyn" : 76,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_obgyn_male" : 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a50200_obgyn_female" : 76,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_emergency" : 60,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_emergency_male" : 30,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "a99999_emergency_female" : 30,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "data_submission_status" : "validated",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "assign_to" : "username"&lt;/P&gt;&lt;P&gt;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here I need to use the &lt;SPAN style="color: #e23d39;"&gt;record.CREATED_LOCATION&lt;/SPAN&gt; coordinates to generate two new fields for latitude and longitude that can be used for the geometry. The 1st two sections of the &lt;SPAN style="color: #e23d39;"&gt;record.CREATED_LOCATION&lt;/SPAN&gt; are the x:y. Can some one point me in the right direction for what needs to be done to achieve this? Or alternatively let me know if there is another place in the geoevents manager I should be setting this up? So far I have my JSON feed successfully passing records into a feature service, just not mapping the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 17:52:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128365#M558</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2016-07-28T17:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128366#M559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field calculator (regular expression) is exactly what you need to help parse through your JSON and extract the proper coordinates.&amp;nbsp; Since I do not have access to your JSON REST endpoint, I took your example record and utilized the "Watch a Folder for New JSON Files" connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a new GeoEvent definition for your input (copy the auto generated definition from the first time you recorded a GeoEvent through the REST endpoint).&amp;nbsp; My original input I called JSON_IN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214154" class="image-1 jive-image" height="96" src="https://community.esri.com/legacyfs/online/214154_pastedImage_0.png" style="height: 104px; width: 1401.69px;" width="1292" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add three fields to your new copy:&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Coords (String)&lt;/LI&gt;&lt;LI&gt;x (Double)&lt;/LI&gt;&lt;LI&gt;y (Double)&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;My new output definition I called JSON_IN-copy (new fields at the end)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214155" class="image-2 jive-image" height="152" src="https://community.esri.com/legacyfs/online/214155_pastedImage_3.png" style="height: 152px; width: 1273.51px;" width="1274" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Begin to extract coordinates and calculate geometry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214162" class="image-6 jive-image" height="254" src="https://community.esri.com/legacyfs/online/214162_pastedImage_0.png" style="height: 262px; width: 1331.48px;" width="1292" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Field Mapper -- Map original GeoEvent Definition to the new one&lt;UL&gt;&lt;LI&gt;Name: fm&lt;/LI&gt;&lt;LI&gt;Processor: Field Mapper&lt;/LI&gt;&lt;LI&gt;Source: JSON_IN (your original input)&lt;/LI&gt;&lt;LI&gt;Target: JSON_IN-copy (your modified output with three fields).&lt;/LI&gt;&lt;LI&gt;Make sure your three new fields are included at the bottom:&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG __jive_id="214158" class="jive-image image-4" height="124" src="https://community.esri.com/legacyfs/online/214158_pastedImage_10.png" width="307" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Field Calculator (Regular Expression) -- Process the Latitude/Longitude from original JSON&lt;UL&gt;&lt;LI&gt;Name: Pull Coordinates&lt;/LI&gt;&lt;LI&gt;Processor: Field Calculator (Regular Expression)&lt;/LI&gt;&lt;LI&gt;Field Name: ${CREATED_LOCATION}&lt;/LI&gt;&lt;LI&gt;Pattern: &lt;STRONG&gt;^(\d*.\d*):(\d*.\d*)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Target Field: Existing Field&lt;/LI&gt;&lt;LI&gt;Existing Field Name: Coords&lt;UL&gt;&lt;LI&gt;Sample value written to Coords field:&amp;nbsp; &lt;STRONG&gt;36.863681:42.992592&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Field Calculator (Regular Expression) -- Calculate X&amp;nbsp; - Search from the beginning of the Coords field value for all characters prior to a colon.&lt;UL&gt;&lt;LI&gt;Name: x_calc&lt;/LI&gt;&lt;LI&gt;Processor: Field Calculator (Regular Expression)&lt;/LI&gt;&lt;LI&gt;Field Name: ${Coords}&lt;/LI&gt;&lt;LI&gt;Pattern: &lt;STRONG&gt;^(\d*.\d*)&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;or&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;^[^:]+&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Target Field: Existing Field&lt;/LI&gt;&lt;LI&gt;Existing Field Name: x&lt;UL&gt;&lt;LI&gt;Sample value: &lt;STRONG&gt;36.863681&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Field Calculator (Regular Expression) -- Calculate Y&lt;UL&gt;&lt;LI&gt;Name: y_calc&lt;/LI&gt;&lt;LI&gt;Processor: Field Calculator (Regular Expression) - Locate value before a colon (from end of the Coords field)&lt;/LI&gt;&lt;LI&gt;Field Name: ${Coords}&lt;/LI&gt;&lt;LI&gt;Pattern: &lt;STRONG&gt;(\d*.\d*)$&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt;or&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;[^:]+$&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Target Field: Existing Field&lt;/LI&gt;&lt;LI&gt;Existing Field Name: y&lt;UL&gt;&lt;LI&gt;Sample Value: &lt;STRONG&gt;42.992592&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;Field Calculator - Process Geometry - Combine values of X, Y into a geometry field&lt;UL&gt;&lt;LI&gt;Name: Process Geometry&lt;/LI&gt;&lt;LI&gt;Processor: Field Calculator&lt;/LI&gt;&lt;LI&gt;Expression: &lt;STRONG&gt;'{"x":'+ x +',"y":'+ y +'}'&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Target Field:&lt;STRONG&gt; New Field&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;New Field Name: Geometry&lt;/LI&gt;&lt;LI&gt;New Field Type: GEOMETRY&lt;/LI&gt;&lt;LI&gt;New GeoEvent Definition Name: Final_EXAMPLE&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That process will output:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214161" class="image-5 jive-image" height="126" src="https://community.esri.com/legacyfs/online/214161_pastedImage_93.png" style="height: 126px; width: 1165.97px;" width="1166" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can now see the fields at the end including the geometry in " ".&amp;nbsp; With a geometry assigned, you should be able to output to a Feature Service.&amp;nbsp;&amp;nbsp; I have a hunch that you can accomplish this in maybe a step or less, depending on your experience level with regular expressions.&amp;nbsp;&amp;nbsp; However, this worked just fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 20:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128366#M559</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2016-08-01T20:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128367#M560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for this sample. I have it about 99% working but I think it is getting hung up somewhere in the service. Maybe the last step? In my monitor page I can see that I have data coming in and the input also indicates this. However, I am not getting an output. See screenshots attached below. Any ideas where this might be getting hung up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshots" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/292499_Untitled.png" style="width: 1226px; height: 894px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2016 16:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128367#M560</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2016-12-29T16:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128368#M561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlie!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad you are 99% there. &amp;nbsp;The issue is within your Pattern*: inputs for your x_calc and y_calc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the pattern in x_calc:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are two different regular expressions:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;^(\d*.\d*)&lt;/STRONG&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;^[^:]+&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put both so you can choose one or the other (same result). &amp;nbsp;Since you have the whole expression "&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;^(\d*.\d*)&lt;/STRONG&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline;"&gt;or&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="border: 0px; font-weight: bold;"&gt;^[^:]+" &amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;this will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same for your y_calc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are two different regular expressions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;(\d*.\d*)$&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;[^:]+$&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is my bad for not making that clearer. &amp;nbsp;&lt;STRONG&gt;So for each pattern in x_calc and y_calc just choose one of the two options.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a tip of what I generally do to help with these type of issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set up an external TCP socket (you can see the tutorial&amp;nbsp;&lt;A class="" href="https://www.arcgis.com/home/item.html?id=b6a35042effd44ceab3976941d36efcf" style="color: #2989c5;" title="https://www.arcgis.com/home/item.html?id=b6a35042effd44ceab3976941d36efcf"&gt;https://www.arcgis.com/home/item.html?id=b6a35042effd44ceab3976941d36efcf&lt;/A&gt;&amp;nbsp; (Module 1.pdf : page 42). &amp;nbsp;I will then add the output GeoEvent service and methodically write out each step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &amp;nbsp; dart_cross_sector_assessment_retaken_villages-in &amp;nbsp; =&amp;gt; &amp;nbsp;FM Liberated Villages (Field Mapper) =&amp;gt; TCP Output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A. Look at the results through the TCP socket window to ensure the output is correct (fields)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&lt;SPAN&gt;dart_cross_sector_assessment_retaken_villages-in &amp;nbsp; =&amp;gt; &amp;nbsp;FM Liberated Villages (Field Mapper) =&amp;gt; Pull Coordinates (Field Calculator Regular Expression) =&amp;gt; TCP Output&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A. Look at the results through the TCP socket window (check fields and values)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So on until you get to the end. &amp;nbsp;This always helps me determine if there is a problem with one of the processors. &amp;nbsp;This type of workflow will help you determine which processor to look at in more detail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am interested in your responses to my questions above, especially the GeoEvent logs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;~Alex&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 13:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128368#M561</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-01-05T13:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128369#M562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Here is what I received in the logs immediately following the submission of a datapoint into the receiver following the change you mention above to my &lt;STRONG&gt;x_calc&lt;/STRONG&gt; and &lt;STRONG&gt;y_calc&lt;/STRONG&gt; expressions. I haven't looked into the TCP socket tool yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #505051; background-color: #ffffff; border: none; font-size: 12px;"&gt;&lt;DIV class="" style="border: none;"&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background: none !important;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;org.apache.cxf.jaxrs.utils.JAXRSUtils&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Problem with writing the data, class java.lang.String, ContentType: application/json&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:03 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #f7fcff;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;com.esri.ges.messaging.jms.MessagingImpl&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;[GeoEvent-messaging] An unexpected error occurred while trying to receive a message. Output may not have processed message. Error: null.&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background: none !important;"&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;org.apache.camel.processor.DefaultErrorHandler&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Failed delivery for (MessageId: ID-SPAWS-GIS01-51368-1481222371083-0-169482 on ExchangeId: ID-SPAWS-GIS01-51368-1481222371083-0-169489). Exhausted after delivery attempt: 1 caught: com.esri.ges.manager.geoeventdefinition.GeoEventDefinitionManagerException: GeoEventDefinitionManager failed to add temporary GeoEventDefinition: GeoEventDefinition GeoCalc_dart_cross_sector_assessment_retaken_villages has duplicate fields.. Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [355896db-7647-4fa2] [355896db-7647-4fa2] [direct://355896db-7647-4fa2-8940-2abb83e54c41 ] [ 198] [355896db-7647-4fa2] [bean39 ] [bean[ref:inboundStreamRecipientListManagerBean method: getRecipients] ] [ 199] [c0c70da9-c932-4d77] [process115 ] [Processor@0x49cc9dee ] [ 2] [c0c70da9-c932-4d77] [multicast111 ] [multicast ] [ 197] [c0c70da9-c932-4d77] [to112 ] [direct:c0c70da9-c932-4d77-8433-2bea056ceb70:fe4122c4-bc3f-4c0a-84ad-c0edae8bf2] [ 30] [c0c70da9-c932-4d77] [process113 ] [Processor@0x5244068 ] [ 0] [c0c70da9-c932-4d77] [multicast109 ] [multicast ] [ 29] [c0c70da9-c932-4d77] [to110 ] [direct:c0c70da9-c932-4d77-8433-2bea056ceb70:19c1deda-9b2c-4204-8773-b97db40500] [ 4] [c0c70da9-c932-4d77] [process112 ] [Processor@0x704fbe08 ] [ 1] [c0c70da9-c932-4d77] [multicast108 ] [multicast ] [ 3] [c0c70da9-c932-4d77] [to109 ] [direct:c0c70da9-c932-4d77-8433-2bea056ceb70:0e4661c2-9ab4-41d7-8966-f17413613d] [ 3] [c0c70da9-c932-4d77] [process110 ] [Processor@0x3aec617 ] [ 0] [c0c70da9-c932-4d77] [multicast106 ] [multicast ] [ 3] [c0c70da9-c932-4d77] [to107 ] [direct:c0c70da9-c932-4d77-8433-2bea056ceb70:3d22739d-cd0e-4f40-803b-a05e7e0d8a] [ 2] [c0c70da9-c932-4d77] [process111 ] [Processor@0xf62a140 ] [ 0] [c0c70da9-c932-4d77] [multicast107 ] [multicast ] [ 2] [c0c70da9-c932-4d77] [to108 ] [direct:c0c70da9-c932-4d77-8433-2bea056ceb70:4eb7cbdb-dfdd-4259-8d30-3bdef4ebbf] [ 3] [c0c70da9-c932-4d77] [process114 ] [Processor@0x533e4e68 ] [ 1] Exchange --------------------------------------------------------------------------------------------------------------------------------------- Exchange[ Id ID-SPAWS-GIS01-51368-1481222371083-0-169489 ExchangePattern InOut Headers {breadcrumbId=ID-SPAWS-GIS01-51368-1481222371083-0-169482, CamelRedelivered=false, CamelRedeliveryCounter=0} BodyType com.esri.ges.messaging.jms.GeoEventImpl Body 7b90d774-bb09-4ebd-af0e-7580bb1382da,record : null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[],null ] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- com.esri.ges.manager.geoeventdefinition.GeoEventDefinitionManagerException: GeoEventDefinitionManager failed to add temporary GeoEventDefinition: GeoEventDefinition GeoCalc_dart_cross_sector_assessment_retaken_villages has duplicate fields.. at com.esri.ges.manager.geoeventdefinition.internal.GeoEventDefinitionManagerImpl.addTemporaryGeoEventDefinition(GeoEventDefinitionManagerImpl.java:142)[369:com.esri.ges.manager.internal-geoeventdefinitionmanager:10.4.0] at Proxycddc1bf4_eb8e_4ac1_bfb1_e69ad6bf4414.addTemporaryGeoEventDefinition(Unknown Source)[:] at com.esri.ges.processor.fieldcalculator.FieldCalculator.lookup(FieldCalculator.java:166)[320:com.esri.ges.framework.processor.fieldcalculator-processor:10.4.0] at com.esri.ges.processor.fieldcalculator.FieldCalculator.process(FieldCalculator.java:132)[320:com.esri.ges.framework.processor.fieldcalculator-processor:10.4.0] at com.esri.ges.processing.camel.GeoEventServiceRouteBuilder$4.process(GeoEventServiceRouteBuilder.java:391)[282:com.esri.ges.framework.processing.camel-processing:10.4.0] at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.MulticastProcessor.doProcessParallel(MulticastProcessor.java:736)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.MulticastProcessor.access$200(MulticastProcessor.java:83)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:304)[180:org.apache.camel.camel-core:2.15.1] at org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:289)[180:org.apache.camel.camel-core:2.15.1] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65] at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #f7fcff;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;com.esri.ges.processor.fieldcalculator.FieldCalculator&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Expression ['{"x":'+ x +',"y":'+ y +'}'] evaluation failed: operator+(arg0:[NonGroup], arg1:[NonGroup]) evaluation failed because of Unavailable GeoEvent field 'x' cannot be used as an argument arg1:[NonGroup]&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background: none !important;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;com.esri.ges.processor.regexfieldcalculator.RegularExpressionFieldCalculator&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Field Calculator (Regular Expression) failed to assign value 'null' to the field 'y' of GeoEventDefinition 'Generated-dart_cross_sector_assessment_retaken_villages-iFB': Could not find a field with the name y in the geoEventDefinition Generated-dart_cross_sector_assessment_retaken_villages-iFB.&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #f7fcff;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;com.esri.ges.processor.regexfieldcalculator.RegularExpressionFieldCalculator&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Field Calculator (Regular Expression) failed to assign value 'null' to the field 'x' of GeoEventDefinition 'Generated-dart_cross_sector_assessment_retaken_villages-iFB': Could not find a field with the name x in the geoEventDefinition Generated-dart_cross_sector_assessment_retaken_villages-iFB.&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: transparent #e5dac8 #e5dac8 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class="" style="background-color: #ffffff; border: none;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #cee6fa;"&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: #bfd6eb #e5dac8 #bfd6eb transparent; padding: 3px 5px;"&gt;com.esri.ges.processor.regexfieldcalculator.RegularExpressionFieldCalculator&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: #bfd6eb #e5dac8 #bfd6eb transparent; padding: 3px 5px;"&gt;Field Calculator (Regular Expression) failed to assign value 'null' to the field 'coords' of GeoEventDefinition 'Generated-dart_cross_sector_assessment_retaken_villages-iFB': Could not find a field with the name coords in the geoEventDefinition Generated-dart_cross_sector_assessment_retaken_villages-iFB.&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: #bfd6eb #e5dac8 #bfd6eb transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 9:47:00 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="border-width: 1px; border-style: solid; border-color: #bfd6eb #e5dac8 #bfd6eb transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128369#M562</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2017-01-05T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128370#M563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bottom three messages show they are trying to calculate a field in your original GeoEvent definition instead of the newer copy. &amp;nbsp;The messages on top let you know it is not writing to the output (which makes sense because something is off in the steps before the output. &amp;nbsp;I would look into the TCP tool to help troubleshoot or write to a file output; going through each step and repeating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also try restarting the GeoEvent Service in the manager, or restarting the entire windows GeoEvent service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you start working through each step and looking at the output, just post and Ill keep helping!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128370#M563</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-01-05T15:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128371#M564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the input to now direct to the copy version of the definition we created which has eliminated the 1st two errors in the logs. I now have the following before failing to output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="color: #505051; font-size: 12px;"&gt;&lt;TBODY&gt;&lt;TR style="background-color: #cee6fa;"&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;com.esri.ges.processor.fieldcalculator.FieldCalculator&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Expression ['{"x":'+ x +',"y":'+ y +'}'] evaluation failed: operator+(arg0:[NonGroup], arg1:[NonGroup]) evaluation failed because of GeoEvent field 'x' of type [Double] and value 'null' cannot be used as an argument arg1:[NonGroup]&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Jan 5, 2017, 10:25:42 AM&lt;/TD&gt;&lt;TD class="" colspan="1" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;ERROR&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the data that is being processed in the sample record submission for CREATED_LOCATION field&amp;nbsp;&lt;/P&gt;&lt;TABLE width="636"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="636"&gt;&lt;STRONG&gt;36.192520:43.332160:283.459053:5.000000:3.000000:5.080000:118.125000:1482836588.000356&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:31:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128371#M564</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2017-01-05T15:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128372#M565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize, I lost track of this thread. &amp;nbsp;Did you ever find a resolution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 18:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128372#M565</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-05-10T18:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128373#M566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;I didn't but I have changed jobs and the project I was using the above for has wrapped up. While we weren't able to successfully parse out the preferred field we wanted to use for X,Y we were able to work with our data collection input source to get what we needed for the project. We were so close to resolving this though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 13:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128373#M566</guid>
      <dc:creator>Mtclimber03</dc:creator>
      <dc:date>2017-05-24T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128374#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;I've been trying to follow your instructions to parse through kml data using the out of the box XML input connector. However, I'm having trouble getting the field mapper to work. Regardless of what I put in the field mapper (or field reducer) the output I get via TCP or CSV looks the same. Any ideas? Is there a better way to manage a KML input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 17:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128374#M567</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-18T17:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128375#M568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry to hear that you are having trouble. &amp;nbsp;Can you please paste some screenshots of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. GeoEvent definitions (input and output)&lt;/P&gt;&lt;P&gt;2. Services (including any processor details like your field mapper).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to include any other details. &amp;nbsp;Hopefully we can get you a resolution rather quickly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 21:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128375#M568</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-07-18T21:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128376#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex!&lt;/P&gt;&lt;P&gt;I have great news! It turns out I was missing the XML Object Name parameter on my input, now I'm receiving great GeoEvents. The next issue I'm encountering is using the regular expressions. This is the field I am getting for "Coords":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="border-collapse: collapse; width: 200pt;" width="266"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD height="20" style="width: 200pt; height: 15.0pt;" width="266"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;-67.9301166666667,47.1880166666667,149&lt;/BLOCKQUOTE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your instructions, I've been able pull out the first number but I'm having trouble getting the "47.188..." because of the 149 on the end.&lt;/P&gt;&lt;P&gt;I'm on the hunt for regular expression resources. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, there is another, more complex field that I will need to parse next (at least I know I'll need speed), can this be done with the same methodology?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE height="144" style="border-collapse: collapse; width: 306px;" width="64"&gt;&lt;TBODY&gt;&lt;TR style="height: 15.0pt;"&gt;&lt;TD class="" height="20" style="width: 298px; height: 15pt;"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;7/9/2017 3:49:48 PM&amp;lt;br /&amp;gt;&lt;BR /&gt; Lat/Lng: 47.188017, -67.930117&amp;lt;br /&amp;gt;&lt;BR /&gt; Speed: 0.0 kph&amp;lt;br /&amp;gt;&lt;BR /&gt; Altitude: 149.0 m&amp;lt;br /&amp;gt;&lt;BR /&gt; Heading: 0&amp;amp;deg;&amp;lt;br /&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 01:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128376#M569</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-19T01:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128377#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is great news! &amp;nbsp;For the "Coords", assuming that is exactly how that field is being ingested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/363429_pastedImage_1.png" style="width: 839px; height: 471px;" /&gt;&lt;/P&gt;&lt;P&gt;Pattern:&amp;nbsp;&lt;STRONG&gt;(?&amp;lt;=,)[^,]*(?=,)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely parse through the more complicated field that has speed, altitude, etc. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post a sample xml with the more complicated field included? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 14:02:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128377#M570</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-07-19T14:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128378#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the pattern, it worked great! I still need to add the next step to create geometry and I'll work on that over the next couple of days. In the meantime, here is a sample of the xml for one placemark. I'm hoping to extract the speed and the time. We are in the Atlantic time zone so I'm guessing the time inside the "CDATA" tag is the best one for us to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;Placemark&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px; margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CH Unit # 5162 Cab # 71&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;address&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Main Street, New Brunswick, Canada&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/address&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;20/07/2017 10:37:01&amp;lt;br /&amp;gt; Lat/Lng: 46.174067, -65.886867&amp;lt;br /&amp;gt; Speed: 0.0 kph&amp;lt;br /&amp;gt; Altitude: 11.0 m&amp;lt;br /&amp;gt; Heading: 314&amp;amp;deg;&amp;lt;br /&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;TimeStamp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;when&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;2017-07-20T09:37:01-04:00&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/when&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/TimeStamp&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;styleUrl&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;#asset18131&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/styleUrl&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Point&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;coordinates&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-65.8868666666667,46.1740666666667,11&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/coordinates&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Point&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;/Placemark&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 13:44:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128378#M571</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-20T13:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128379#M572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the piece for calculating the geometry using your recommended syntax and I'm not getting any errors in the log that I can see. However, now that it is hooked up to the feature service update output tool only the attributes are getting updated and not the position. Is there another way I can test to see if any geometry is getting generated?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 01:24:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128379#M572</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-24T01:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128380#M573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the answer to the geometry question. The missing piece is the spatialReference when calculating the geometry field. This was my final expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;'{' + ' "x":'+ Longitude + ',' + ' "y":'+ Latitude + ',' + ' "spatialReference":{"wkid":4326} }'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 19:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128380#M573</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-25T19:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128381#M574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fantastic! I am very glad you figured it out. &amp;nbsp;In general, I like writing all my outputs to a TCP socket (see my suggestion above &lt;A class="link-titled" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3Db6a35042effd44ceab3976941d36efcf" title="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3Db6a35042effd44ceab3976941d36efcf"&gt;https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3Db6a35042effd44ceab…&lt;/A&gt;&amp;nbsp;) is a good way to troubleshoot your outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For parsing out your additional fields from this string (if matches exactly):&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;CDATA&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;20&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;07&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2017&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;37&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;01&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; br &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Lat &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; Lng&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;46.174067&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;65.886867&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; br &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Speed&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0.6&lt;/SPAN&gt; kph &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; br &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Altitude&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;11.0&lt;/SPAN&gt; m &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; br &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; Heading&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;314&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt; deg&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; br &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Speed&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Pattern: &amp;nbsp;&lt;STRONG&gt;(?&amp;lt;=Speed: )[^*]*(?= kph)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/364327_pastedImage_5.png" style="width: 620px; height: 392px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Altitude&lt;UL&gt;&lt;LI&gt;Pattern:&amp;nbsp;&lt;STRONG&gt;(?&amp;lt;=Altitude: )[^*]*(?= m)&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/364344_pastedImage_9.png" style="width: 620px; height: 393px;" /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Heading&lt;UL&gt;&lt;LI&gt;Pattern:&amp;nbsp;&lt;STRONG&gt;(?&amp;lt;=Heading: )[^*]*(?= &amp;amp;)&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/364345_pastedImage_15.png" style="width: 620px; height: 389px;" /&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/364347_pastedImage_18.png" style="width: 1113px; height: 318px;" /&gt;&lt;/STRONG&gt;Here is my TCP socket output, you can see Speed (0.9), Altitude (11) and Heading (314) written at the end of my output GeoEvent Definition:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/364346_pastedImage_17.png" style="width: 765px; height: 79px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These regular expressions parse through that string okay. &amp;nbsp;You might need to investigate the data coming in to ensure the trailing end of those expressions are general enough to catch all specific permutations. &amp;nbsp;Either way, that should put you down the path of figuring out what exactly you need (if the string changes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 19:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128381#M574</guid>
      <dc:creator>AlexanderBrown5</dc:creator>
      <dc:date>2017-07-25T19:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create New Field w/ Field Calculator (Regular Expression) between :</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128382#M575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked great Alex, thanks for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 23:16:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/create-new-field-w-field-calculator-regular/m-p/128382#M575</guid>
      <dc:creator>AllWeatherHeather</dc:creator>
      <dc:date>2017-07-29T23:16:08Z</dc:date>
    </item>
  </channel>
</rss>

