<?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: What language is the &amp;quot;Opening Condition&amp;quot; for the Incident Detector written in? in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-language-is-the-quot-opening-condition-quot/m-p/577402#M2543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heath,&lt;/P&gt;&lt;P&gt;I don't think that the Track Gap Detector is the item you want to be using.&amp;nbsp; It relies on an initial packet for a reference and then checks every x seconds (Gap Detection Interval)&amp;nbsp;to see if any other packet has been received within the set Gap Duration.&amp;nbsp; So it uses an "internal reference" (it's own time-stamp on the first packet and then every other packet through) to check that there are no "gaps" in your stream - based on your&amp;nbsp;stream's expected delivery rate.&amp;nbsp; AND there is no way to put it in between a Write to FC output and AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I consume lightning data.&amp;nbsp; I connect to that source via a connection with a "Receive Text from a TCP Socket" connector.&amp;nbsp; The feed has a "pulse" that tells us that the feed connection is still alive every 15 seconds if there is no lightning activity in our area.&amp;nbsp; This is usually the weak point in our workflow - the connection between GeoEvent and the remote server.&amp;nbsp; I have a branch of my service that just handles the Gap Detection.&amp;nbsp; It just slims the fields of any packet coming through.&amp;nbsp; The Gap Detector just gives me a True/False - gap or no-gap.&amp;nbsp; (Gap Duration = 60, Gap Detection Interval = 20)&amp;nbsp; I use&amp;nbsp;a gap =&amp;nbsp;"true" filter to send me a text message when the feed goes down, and a gap = "false" filter when the feed comes back up.&lt;/P&gt;&lt;P&gt;I would like to make a branch off the "true" filter to also send a command to a script running on the server that stops and starts the input - re-establishing the communications between the remote server and &lt;A href="https://community.esri.com/space/2103"&gt;GeoEvent&lt;/A&gt;‌.&amp;nbsp; I am starting to study these two blogs a little more closely for an answer:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/people/aommen-esristaff/blog/2016/10/19/scripting-tasks-using-the-geoevent-admin-api"&gt;Scripting tasks using the GeoEvent Admin API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/people/eironside-esristaff/blog/2019/03/21/scripting-tasks-using-the-geoevent-admin-api-update-inputs"&gt;Scripting tasks using the GeoEvent Admin API - Update Inputs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You might just consider trying a server script that restarts the output every night or twice a day?&amp;nbsp; &lt;/STRONG&gt;I might just try that one with my input, but my problem is that my connection sometimes drops many times a day - AND&amp;nbsp;- I don't have a developer.&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be very interested in hearing how you work through this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2019 12:06:12 GMT</pubDate>
    <dc:creator>AdamRepsher</dc:creator>
    <dc:date>2019-03-25T12:06:12Z</dc:date>
    <item>
      <title>What language is the "Opening Condition" for the Incident Detector written in?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-language-is-the-quot-opening-condition-quot/m-p/577401#M2542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have ArcGIS Geoevent 10.6.1 and was wondering if there is a way to notify the administrator of a fail in the service.&amp;nbsp; I currently poll-in an xml weather service and update a feature service every hour with the new information.&amp;nbsp; The only problem is that after a couple of weeks the update a service portion seems to fail for some unknown reason.&amp;nbsp; The current fix is that I view the feature service in AGOL and if the time stamp isn't within a couple of hour of the current time, I have to log into Geoevent and restart the Update a Feature Service.&amp;nbsp; I also restart the xml poll to make sure the feature service is being updated with the latest weather information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a notification email so that when the update a feature service fails to write an output I will receive an email.&amp;nbsp; I have thought about a incident detector but i am unsure of how to format the opening condition.&amp;nbsp; I was going with the approach of if "${observationdate} &amp;lt; now().minusHour(2)"&amp;nbsp; create a Point in Time incident then send an email.&amp;nbsp; The only problem is that this doesn't work and i am not sure what language the conditional statement is written in, SQL, Java, Python?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any thoughts for recommendations for my problem.&amp;nbsp; I don't really have time to check the feature service every day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Mar 2019 14:24:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-language-is-the-quot-opening-condition-quot/m-p/577401#M2542</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2019-03-19T14:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: What language is the "Opening Condition" for the Incident Detector written in?</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-language-is-the-quot-opening-condition-quot/m-p/577402#M2543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heath,&lt;/P&gt;&lt;P&gt;I don't think that the Track Gap Detector is the item you want to be using.&amp;nbsp; It relies on an initial packet for a reference and then checks every x seconds (Gap Detection Interval)&amp;nbsp;to see if any other packet has been received within the set Gap Duration.&amp;nbsp; So it uses an "internal reference" (it's own time-stamp on the first packet and then every other packet through) to check that there are no "gaps" in your stream - based on your&amp;nbsp;stream's expected delivery rate.&amp;nbsp; AND there is no way to put it in between a Write to FC output and AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I consume lightning data.&amp;nbsp; I connect to that source via a connection with a "Receive Text from a TCP Socket" connector.&amp;nbsp; The feed has a "pulse" that tells us that the feed connection is still alive every 15 seconds if there is no lightning activity in our area.&amp;nbsp; This is usually the weak point in our workflow - the connection between GeoEvent and the remote server.&amp;nbsp; I have a branch of my service that just handles the Gap Detection.&amp;nbsp; It just slims the fields of any packet coming through.&amp;nbsp; The Gap Detector just gives me a True/False - gap or no-gap.&amp;nbsp; (Gap Duration = 60, Gap Detection Interval = 20)&amp;nbsp; I use&amp;nbsp;a gap =&amp;nbsp;"true" filter to send me a text message when the feed goes down, and a gap = "false" filter when the feed comes back up.&lt;/P&gt;&lt;P&gt;I would like to make a branch off the "true" filter to also send a command to a script running on the server that stops and starts the input - re-establishing the communications between the remote server and &lt;A href="https://community.esri.com/space/2103"&gt;GeoEvent&lt;/A&gt;‌.&amp;nbsp; I am starting to study these two blogs a little more closely for an answer:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/people/aommen-esristaff/blog/2016/10/19/scripting-tasks-using-the-geoevent-admin-api"&gt;Scripting tasks using the GeoEvent Admin API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/people/eironside-esristaff/blog/2019/03/21/scripting-tasks-using-the-geoevent-admin-api-update-inputs"&gt;Scripting tasks using the GeoEvent Admin API - Update Inputs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You might just consider trying a server script that restarts the output every night or twice a day?&amp;nbsp; &lt;/STRONG&gt;I might just try that one with my input, but my problem is that my connection sometimes drops many times a day - AND&amp;nbsp;- I don't have a developer.&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be very interested in hearing how you work through this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 12:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/what-language-is-the-quot-opening-condition-quot/m-p/577402#M2543</guid>
      <dc:creator>AdamRepsher</dc:creator>
      <dc:date>2019-03-25T12:06:12Z</dc:date>
    </item>
  </channel>
</rss>

