<?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: Is there anything I should do before using user defined eventtypes in a REST API call? Receiving error &amp;quot;Eventtype...does not exist or is disabled&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137684#M28326</link>
    <description>&lt;P&gt;Hi Martin, I'll give that a try. I managed to raise 2 questions at the same time, and had some luck answering it myself under &lt;A href="http://answers.splunk.com/answers/200610/why-am-i-getting-error-eventtypedoes-not-exist-or.html"&gt;http://answers.splunk.com/answers/200610/why-am-i-getting-error-eventtypedoes-not-exist-or.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I did try your endpoint and got a list of search jobs.&lt;BR /&gt;
I found that wrapping the eventtype name in quotes helped me.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Dec 2014 22:52:01 GMT</pubDate>
    <dc:creator>kmugglet</dc:creator>
    <dc:date>2014-12-01T22:52:01Z</dc:date>
    <item>
      <title>Is there anything I should do before using user defined eventtypes in a REST API call? Receiving error "Eventtype...does not exist or is disabled"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137682#M28324</link>
      <description>&lt;P&gt;Is there anything I should do before using user defined eventtype in a rest api call?&lt;/P&gt;

&lt;P&gt;my username is svc_user_bob (real name changed to protect the innocent)&lt;/P&gt;

&lt;P&gt;as svc_user_bob I created the following eventtype &lt;BR /&gt;
Name:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sam_service.CombinedQueueGroupEgressLogRecord
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Description:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventtype=sam_data ds=service.CombinedQueueGroupEgressLogRecord
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All well and good, I can return events of that eventtype.&lt;/P&gt;

&lt;P&gt;When I do a rest call via curl&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u svc_user_bob:myFakePassword https://localhost:8089/services/search/jobs -d search="search eventtype=sam_service.CombinedQueueGroupEgressLogRecord"    
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I get a SID which in job inspector shows as failed. On looking in the search log I get the following error&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-01-2014 18:00:08.615 WARN  StringSearchExpander - sid:1417417038.14 Eventtype 'sam_service.CombinedQueueGroupEgressLogRecord' does not exist or is disabled.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why?&lt;/P&gt;

&lt;P&gt;Other queries run via rest work OK but not this eventtype. I've deleted and created in several times just to make sure it's not a hanging config issue from some old eventtype with the same name.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137682#M28324</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2020-09-28T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is there anything I should do before using user defined eventtypes in a REST API call? Receiving error "Eventtype...does not exist or is disabled"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137683#M28325</link>
      <description>&lt;P&gt;What happens when you use &lt;CODE&gt;/servicesNS/svc_user_bob/your_app/search/jobs&lt;/CODE&gt; as the endpoint?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 21:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137683#M28325</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-12-01T21:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there anything I should do before using user defined eventtypes in a REST API call? Receiving error "Eventtype...does not exist or is disabled"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137684#M28326</link>
      <description>&lt;P&gt;Hi Martin, I'll give that a try. I managed to raise 2 questions at the same time, and had some luck answering it myself under &lt;A href="http://answers.splunk.com/answers/200610/why-am-i-getting-error-eventtypedoes-not-exist-or.html"&gt;http://answers.splunk.com/answers/200610/why-am-i-getting-error-eventtypedoes-not-exist-or.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I did try your endpoint and got a list of search jobs.&lt;BR /&gt;
I found that wrapping the eventtype name in quotes helped me.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 22:52:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137684#M28326</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2014-12-01T22:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there anything I should do before using user defined eventtypes in a REST API call? Receiving error "Eventtype...does not exist or is disabled"</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137685#M28327</link>
      <description>&lt;P&gt;Turns out the eventtype didn't have sufficient permissions. Changed it to App visible and it works.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2015 22:32:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-anything-I-should-do-before-using-user-defined/m-p/137685#M28327</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2015-09-28T22:32:39Z</dc:date>
    </item>
  </channel>
</rss>

