<?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 Dissapearing jobs from &amp;quot;Monitor&amp;quot; tab in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Dissapearing-jobs-from-quot-Monitor-quot-tab/m-p/758062#M22714</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;we're using SAS Viya 3.5. I have a question regarding "Monitoring" tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The&amp;nbsp;&lt;SPAN class="xisDoc-windowItem"&gt;Monitoring&lt;/SPAN&gt;&amp;nbsp;tab enables you to view a table or a chart of jobs and job flows that are currently running and that have run at a specified time in the past.&amp;nbsp;&lt;A title="SAS Documentation" href="https://documentation.sas.com/doc/en/calcdc/3.5/caljobs/n0x3w4aokfoi1wn1q33jg4yrifge.htm" target="_self"&gt;Link&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know where I can change "specified time in the past". The jobs disappearing from "Monitoring" after ~1 hour and then I can't see it any more in the environment manager. Doesn't matter if job finished successfully or failed, I can't see it in the Env Manager and need to check it in /var/log/.....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems there is a parameter that cleans data after the run. I would like to find and change this parameter. Filters can filter only jobs we see(the jobs from ~1 last hour)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dandycomp_0-1627561601833.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62052i2EF900992DC53F92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dandycomp_0-1627561601833.png" alt="dandycomp_0-1627561601833.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ivan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 12:38:17 GMT</pubDate>
    <dc:creator>idziemianczyk</dc:creator>
    <dc:date>2021-07-29T12:38:17Z</dc:date>
    <item>
      <title>Dissapearing jobs from "Monitor" tab</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dissapearing-jobs-from-quot-Monitor-quot-tab/m-p/758062#M22714</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;we're using SAS Viya 3.5. I have a question regarding "Monitoring" tab.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The&amp;nbsp;&lt;SPAN class="xisDoc-windowItem"&gt;Monitoring&lt;/SPAN&gt;&amp;nbsp;tab enables you to view a table or a chart of jobs and job flows that are currently running and that have run at a specified time in the past.&amp;nbsp;&lt;A title="SAS Documentation" href="https://documentation.sas.com/doc/en/calcdc/3.5/caljobs/n0x3w4aokfoi1wn1q33jg4yrifge.htm" target="_self"&gt;Link&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know where I can change "specified time in the past". The jobs disappearing from "Monitoring" after ~1 hour and then I can't see it any more in the environment manager. Doesn't matter if job finished successfully or failed, I can't see it in the Env Manager and need to check it in /var/log/.....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems there is a parameter that cleans data after the run. I would like to find and change this parameter. Filters can filter only jobs we see(the jobs from ~1 last hour)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dandycomp_0-1627561601833.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62052i2EF900992DC53F92/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dandycomp_0-1627561601833.png" alt="dandycomp_0-1627561601833.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Ivan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 12:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dissapearing-jobs-from-quot-Monitor-quot-tab/m-p/758062#M22714</guid>
      <dc:creator>idziemianczyk</dc:creator>
      <dc:date>2021-07-29T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dissapearing jobs from "Monitor" tab</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Dissapearing-jobs-from-quot-Monitor-quot-tab/m-p/758377#M22717</link>
      <description>&lt;P&gt;The "specified time in the past" refers to the Filter By drop down in the top right. This will display all the jobs with a date in the range specified by calling the /jobExecution/jobs endpoint with a filter on the date.&lt;BR /&gt;&lt;BR /&gt;It sounds like in your case these jobs are no longer present at all. If you access the jobExecution/jobs endpoint directly from the browser, does the "count" only list the one job? You could also do this with curl and jq:&lt;/P&gt;
&lt;PRE&gt;baseurl=https://viya.example.com
user=sasdemo
read -s -p "Enter password: " pass &amp;amp;&amp;amp; echo
token=$(curl -s -L -X POST "$baseurl/SASLogon/oauth/token" -H 'Accept: application/json' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Authorization: Basic c2FzLmNsaTo=' -d 'grant_type=password' -d "username=$user" -d "password=$pass" | sed "s/{.*\"access_token\":\"\([^\"]*\).*}/\1/g")
curl -s -L $baseurl/jobExecution/jobs -H "Authorization: Bearer $token" | jq -r '.count'&lt;/PRE&gt;
&lt;P&gt;The result shows the total number of jobs defined:&lt;/P&gt;
&lt;PRE&gt;$ curl -s -L $baseurl/jobExecution/jobs -H "Authorization: Bearer $token" | jq -r '.count'
748&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Jul 2021 13:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Dissapearing-jobs-from-quot-Monitor-quot-tab/m-p/758377#M22717</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-07-30T13:15:28Z</dc:date>
    </item>
  </channel>
</rss>

