<?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: task config has no interval in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338228#M40712</link>
    <description>&lt;P&gt;Is the error still the same or error is different?&lt;/P&gt;</description>
    <pubDate>Wed, 18 Apr 2018 10:41:38 GMT</pubDate>
    <dc:creator>deepashri_123</dc:creator>
    <dc:date>2018-04-18T10:41:38Z</dc:date>
    <item>
      <title>task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338224#M40708</link>
      <description>&lt;P&gt;Not getting and Azure Audit logs after setup.  We are on-prem.  Any ideas? &lt;/P&gt;

&lt;P&gt;Seeing this error in the logs: &lt;BR /&gt;
&lt;CODE&gt;2018-04-16 20:30:20,975 +0000 log_level=ERROR, pid=17164, tid=MainThread, file=ta_mod_input.py, func_name=main, code_line_no=199 | Microsoft Cloudservices Azure Audit task encounter exception&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_mod_input.py", line 196, in main&lt;BR /&gt;
    config_cls=configer_cls, log_suffix=log_suffix)&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_mod_input.py", line 111, in run&lt;BR /&gt;
    tconfig = tc.create_ta_config(settings, config_cls or tc.TaConfig, log_suffix)&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_config.py", line 203, in create_ta_config&lt;BR /&gt;
    return config_cls(meta_config, settings, stanza_name, log_suffix)&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_config.py", line 31, in __init__&lt;BR /&gt;
    self._load_task_configs()&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_config.py", line 60, in _load_task_configs&lt;BR /&gt;
    self._divide_settings)&lt;BR /&gt;
  File "/app/install/splunk/etc/apps/Splunk_TA_microsoft-cloudservices/bin/splunktamscs/splunktaucclib/data_collection/ta_config.py", line 80, in _generate_task_configs&lt;BR /&gt;
    assert task_config.get(c.interval), "task config has no interval " \&lt;BR /&gt;
AssertionError: task config has no interval field&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 20:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338224#M40708</guid>
      <dc:creator>davebo1896</dc:creator>
      <dc:date>2018-04-16T20:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338225#M40709</link>
      <description>&lt;P&gt;Hey@davebo1896,&lt;/P&gt;

&lt;P&gt;Have you created this stanza in inputs.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;input_stanza_name&amp;gt;]              
account = &amp;lt;value&amp;gt;
subscription_id = &amp;lt;value&amp;gt;
start_time = &amp;lt;value&amp;gt;
index = &amp;lt;value&amp;gt;
interval = &amp;lt;value&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;is the interval parameter added?&lt;/P&gt;

&lt;P&gt;Refer this doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureinputs2"&gt;http://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureinputs2&lt;/A&gt;&lt;BR /&gt;
Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 09:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338225#M40709</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-04-17T09:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338226#M40710</link>
      <description>&lt;P&gt;Thanks @deepashri_123,&lt;/P&gt;

&lt;P&gt;I had assumed the GUI would add that as it created them.  It had not.  I manually updated each section with an interval, then restarted.&lt;BR /&gt;&lt;BR /&gt;
Unfortunately, still getting the error and not getting data.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 19:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338226#M40710</guid>
      <dc:creator>davebo1896</dc:creator>
      <dc:date>2018-04-17T19:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338227#M40711</link>
      <description>&lt;P&gt;Some of the configs are stored in the KV store.  I've run into issues in the past if I try to create an input with the same name as a failed or previously deleted input.  Try creating the input again with a unique name.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 22:34:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338227#M40711</guid>
      <dc:creator>jconger</dc:creator>
      <dc:date>2018-04-17T22:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338228#M40712</link>
      <description>&lt;P&gt;Is the error still the same or error is different?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 10:41:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338228#M40712</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-04-18T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338229#M40713</link>
      <description>&lt;P&gt;Same error&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 16:39:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338229#M40713</guid>
      <dc:creator>davebo1896</dc:creator>
      <dc:date>2018-04-26T16:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338230#M40714</link>
      <description>&lt;P&gt;It appears the problem is caused by the ordering of the configs &lt;BR /&gt;
(and the UI does not put them in the correct order)&lt;/P&gt;

&lt;P&gt;The stanza has to be configured in the order listed in the documentation:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [&amp;lt;input_stanza_name&amp;gt;]              
 account = &amp;lt;value&amp;gt;
 subscription_id = &amp;lt;value&amp;gt;
 start_time = &amp;lt;value&amp;gt;
 index = &amp;lt;value&amp;gt;
 interval = &amp;lt;value&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 May 2018 14:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338230#M40714</guid>
      <dc:creator>davebo1896</dc:creator>
      <dc:date>2018-05-11T14:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: task config has no interval</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338231#M40715</link>
      <description>&lt;P&gt;Yes, I discovered this today, it needs to match what you said, just like in this doc:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureinputs2"&gt;https://docs.splunk.com/Documentation/AddOns/released/MSCloudServices/Configureinputs2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Because this is a non-standard .conf file (&lt;CODE&gt;mscs_azure_audit_inputs.conf&lt;/CODE&gt;), guessing it's processed by a script that's not being smart (i.e. automatically throwing into an object without checking the key-value pairs...). This is either a bug in the UI or in the script processing this .conf file.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 08:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/task-config-has-no-interval/m-p/338231#M40715</guid>
      <dc:creator>rkantamaneni_sp</dc:creator>
      <dc:date>2019-04-25T08:20:21Z</dc:date>
    </item>
  </channel>
</rss>

