<?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 Why am I getting error &amp;quot;Eventtype...does not exist or is disabled&amp;quot; using a user defined eventtype in a REST API call? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137726#M28338</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;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:08 GMT</pubDate>
    <dc:creator>kmugglet</dc:creator>
    <dc:date>2020-09-28T18:17:08Z</dc:date>
    <item>
      <title>Why am I getting error "Eventtype...does not exist or is disabled" using a user defined eventtype in a REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137726#M28338</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;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:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137726#M28338</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2020-09-28T18:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Eventtype...does not exist or is disabled" using a user defined eventtype in a REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137727#M28339</link>
      <description>&lt;P&gt;Sorry, should add Splunk 6.2 running on RHEL 6&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 12:40:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137727#M28339</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2014-12-01T12:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Eventtype...does not exist or is disabled" using a user defined eventtype in a REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137728#M28340</link>
      <description>&lt;P&gt;I have managed to get one eventtype through a REST call : splunkd-log &lt;BR /&gt;
It's set as global permissions with no user associated&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 12:58:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137728#M28340</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2014-12-01T12:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Eventtype...does not exist or is disabled" using a user defined eventtype in a REST API call?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137729#M28341</link>
      <description>&lt;P&gt;Quotes it is, placing the eventtype name in quotes and making sure it is readable by just about everyone on the planet seems to have worked. Just need to dial back the permissions until it fails&lt;/P&gt;</description>
      <pubDate>Mon, 01 Dec 2014 14:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-getting-error-quot-Eventtype-does-not-exist-or-is/m-p/137729#M28341</guid>
      <dc:creator>kmugglet</dc:creator>
      <dc:date>2014-12-01T14:27:48Z</dc:date>
    </item>
  </channel>
</rss>

