<?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 Get indexes API not returning expanded home and cold path. Splunk Version: 9.4.5 in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755294#M23437</link>
    <description>&lt;P&gt;I am calling this API: GET&amp;nbsp;&lt;SPAN&gt;/services/data/indexes/&amp;lt;index-name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The values of&amp;nbsp;homePath_expanded and coldPath_expanded are not being resolved to return the absolute path, but it returns the following data:&lt;/P&gt;&lt;P&gt;&amp;lt;s:key name="homePath_expanded"&amp;gt;volume:hotwarm/$_index_name/db&amp;lt;/s:key&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;s:key name="coldPath_expanded"&amp;gt;volume:cold/$_index_name/colddb&amp;lt;/s:key&amp;gt;&lt;/P&gt;&lt;P&gt;Can someone please help me if I can check something to resolve this?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2025 05:53:42 GMT</pubDate>
    <dc:creator>Commvault</dc:creator>
    <dc:date>2025-11-07T05:53:42Z</dc:date>
    <item>
      <title>Get indexes API not returning expanded home and cold path. Splunk Version: 9.4.5</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755294#M23437</link>
      <description>&lt;P&gt;I am calling this API: GET&amp;nbsp;&lt;SPAN&gt;/services/data/indexes/&amp;lt;index-name&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The values of&amp;nbsp;homePath_expanded and coldPath_expanded are not being resolved to return the absolute path, but it returns the following data:&lt;/P&gt;&lt;P&gt;&amp;lt;s:key name="homePath_expanded"&amp;gt;volume:hotwarm/$_index_name/db&amp;lt;/s:key&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;s:key name="coldPath_expanded"&amp;gt;volume:cold/$_index_name/colddb&amp;lt;/s:key&amp;gt;&lt;/P&gt;&lt;P&gt;Can someone please help me if I can check something to resolve this?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 05:53:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755294#M23437</guid>
      <dc:creator>Commvault</dc:creator>
      <dc:date>2025-11-07T05:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get indexes API not returning expanded home and cold path. Splunk Version: 9.4.5</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755296#M23438</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252088"&gt;@Commvault&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API is returning volume:hotwarm/... instead of an absolute filesystem path because your index is defined using volume references in indexes.conf. Splunk does not expand those into full paths unless the volume stanza itself has an absolute path configured.&lt;/P&gt;&lt;P&gt;you can combine the two REST endpoints (/services/data/indexes and /services/data/index-volumes) to show full path.&lt;BR /&gt;Try something below,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/data/indexes
| fields title homePath_expanded coldPath_expanded
| rex field=homePath_expanded "(?&amp;lt;homeVol&amp;gt;volume:[^/]+)"
| rex field=coldPath_expanded "(?&amp;lt;coldVol&amp;gt;volume:[^/]+)"
| join type=left homeVol [ | rest /services/data/index-volumes | fields title volume_path | rename title as homeVol volume_path as homeBase ]
| join type=left coldVol [ | rest /services/data/index-volumes | fields title volume_path | rename title as coldVol volume_path as coldBase ]
| eval homePathResolved=replace(homePath_expanded,homeVol,homeBase)
| eval coldPathResolved=replace(coldPath_expanded,coldVol,coldBase)
| table title homePathResolved coldPathResolved&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;BR /&gt;Prewin&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 06:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755296#M23438</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-11-07T06:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get indexes API not returning expanded home and cold path. Splunk Version: 9.4.5</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755390#M23457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28010"&gt;@PrewinThomas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have the following data in the indexes.conf file:&lt;/P&gt;&lt;P&gt;[volume:cold]&lt;BR /&gt;path = /splunk-data/cold&lt;/P&gt;&lt;P&gt;[volume:hotwarm]&lt;BR /&gt;path = /splunk-data/hotwarm&lt;BR /&gt;maxVolumeDataSizeMB = 4500000&lt;/P&gt;&lt;P&gt;[wineventlog]&lt;BR /&gt;homePath = volume:hotwarm/$_index_name/db&lt;BR /&gt;coldPath = volume:cold/$_index_name/colddb&lt;BR /&gt;tstatsHomePath = volume:hotwarm/$_index_name/datamodel_summary&lt;BR /&gt;thawedPath = /splunk-data/cold/$_index_name/thaweddb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any logs that will tell if there was an issue in resolving these paths?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 06:38:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-indexes-API-not-returning-expanded-home-and-cold-path-Splunk/m-p/755390#M23457</guid>
      <dc:creator>Commvault</dc:creator>
      <dc:date>2025-11-11T06:38:05Z</dc:date>
    </item>
  </channel>
</rss>

