<?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: Splunk Service returns an empty CollectionIndexes in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Why-does-my-Splunk-Service-return-an-empty-CollectionIndexes/m-p/590447#M10076</link>
    <description>&lt;P&gt;Can someone help here!&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 14:37:34 GMT</pubDate>
    <dc:creator>ssrrjj</dc:creator>
    <dc:date>2022-03-23T14:37:34Z</dc:date>
    <item>
      <title>Why does my Splunk Service return an empty CollectionIndexes?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-does-my-Splunk-Service-return-an-empty-CollectionIndexes/m-p/567028#M10075</link>
      <description>&lt;P&gt;We have developed a Splunk client app using Splunk Java SDK.&lt;/P&gt;
&lt;P&gt;A particular Splunk server installation has a few indexes with data stored in them. When getIndexes() is called in com.splunk.Service class object, it returns an empty CollectionIndexes. However, on the same Service object, we can search data in the indexes and it is certain that those indexes do exist.&lt;/P&gt;
&lt;PRE&gt;IndexCollection indexCollection = &lt;SPAN&gt;service&lt;/SPAN&gt;.getIndexes();&lt;BR /&gt;boolean indexNotFound = indexCollection.isEmpty();&lt;/PRE&gt;
&lt;P&gt;I got the same results with Java SDK 1.5.0.0 and 1.6.5.0.&lt;/P&gt;
&lt;P&gt;This is happening in a particular Splunk server installation. For other Splunk server installations, we do not have any issue. Under what condition could this issue happen? What can I do to troubleshoot?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 22:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-does-my-Splunk-Service-return-an-empty-CollectionIndexes/m-p/567028#M10075</guid>
      <dc:creator>sung101</dc:creator>
      <dc:date>2022-03-23T22:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Service returns an empty CollectionIndexes</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-does-my-Splunk-Service-return-an-empty-CollectionIndexes/m-p/590447#M10076</link>
      <description>&lt;P&gt;Can someone help here!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 14:37:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-does-my-Splunk-Service-return-an-empty-CollectionIndexes/m-p/590447#M10076</guid>
      <dc:creator>ssrrjj</dc:creator>
      <dc:date>2022-03-23T14:37:34Z</dc:date>
    </item>
  </channel>
</rss>

