<?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: How can we find out which HTTP Event Collector tokens are not being used? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413471#M73147</link>
    <description>&lt;P&gt;how can we pull same information using rest API call?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 06:17:01 GMT</pubDate>
    <dc:creator>sowmya_prasanna</dc:creator>
    <dc:date>2019-07-03T06:17:01Z</dc:date>
    <item>
      <title>How can we find out which HTTP Event Collector tokens are not being used?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413468#M73144</link>
      <description>&lt;P&gt;We have numerous input stanzas like -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[http://&amp;lt;name&amp;gt;]
disabled = 0
token = xxxxxxxx-xxxx-xxxxx-xxxx-xxxxxxxxxxxxx
index = &amp;lt;index name&amp;gt;
indexes = &amp;lt;index name&amp;gt;
queueSize = 100MB
useACK = 0
sourcetype = json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As time passes by, we have more and more stale connections. Can we find out which tokens are stale and not being used?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 16:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413468#M73144</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-01-18T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can we find out which HTTP Event Collector tokens are not being used?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413469#M73145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;You can check which HEC token is in use in &lt;CODE&gt;_introspection&lt;/CODE&gt; Index with below query.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_introspection host=YOUR_HEC_HOST  sourcetype=http_event_collector_metrics data.token_name=*
| rename data.* as *
| table host, component, token_name, num_*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If there will be 0 &lt;CODE&gt;num_of_requests&lt;/CODE&gt; or &lt;CODE&gt;num_of_events&lt;/CODE&gt; for longer time span then I guess you can disable those token for few days and then remove it.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 16:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413469#M73145</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-18T16:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can we find out which HTTP Event Collector tokens are not being used?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413470#M73146</link>
      <description>&lt;P&gt;Gorgeous @ harsmarvania57.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jan 2019 23:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413470#M73146</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-01-26T23:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can we find out which HTTP Event Collector tokens are not being used?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413471#M73147</link>
      <description>&lt;P&gt;how can we pull same information using rest API call?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 06:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-find-out-which-HTTP-Event-Collector-tokens-are-not/m-p/413471#M73147</guid>
      <dc:creator>sowmya_prasanna</dc:creator>
      <dc:date>2019-07-03T06:17:01Z</dc:date>
    </item>
  </channel>
</rss>

