<?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 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/758992#M243320</link>
    <description>&lt;P&gt;Yes, I've seen only too many times. But the thing is that it's a symptom of not well-enough defined processed and "undermanaged" environment. Ingest to specific indexes should be covered by proper onboarding process and it should be documented. Searching from an index generally should be covered by roles and therefore users' access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking dashboards/reports is a task which might give you false feeling of completness.&lt;/P&gt;&lt;P&gt;Let me give you an example.&lt;/P&gt;&lt;P&gt;You have a dashboard. The dashboard uses&amp;nbsp; a base search&lt;/P&gt;&lt;PRE&gt;`interesting_indexes` | stats count by host&lt;/PRE&gt;&lt;P&gt;The "interesting_indexes" macro is defined with an app and resoves to "index IN (firewall,hips)".&lt;/P&gt;&lt;P&gt;So far so good.&lt;/P&gt;&lt;P&gt;But a particular user redefined this macro privately to say "eventtype=windows_logoff". How are you supposed to know that this particular dashboard works differently for that user?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Mar 2026 22:49:55 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2026-03-03T22:49:55Z</dc:date>
    <item>
      <title>How to find which indexes are used?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674463#M230866</link>
      <description>&lt;P&gt;I have a simple question how can I check that in which of the apps a particular index has been used.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:36:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674463#M230866</guid>
      <dc:creator>Siddharthnegi</dc:creator>
      <dc:date>2024-01-17T12:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674483#M230870</link>
      <description>&lt;P&gt;Simply look at the source of all your dashboards, reports, alerts, macros, etc. to see if the index is used.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 09:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674483#M230870</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-17T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674492#M230876</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;unfortunately there haven't (at least i didn't know) any way to get this list for 100%. There are so many way how used index can be defined for queries.&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;already list some of those, but if there is used index=xy* or index=* or if the index is not mentioned on SPL query or macro or event types then splunk will use what has defined for user's role (or combined roles) as default search index.&lt;/P&gt;&lt;P&gt;Basically you could get some list for used indexes, but don't trust that it contains all, unless it contains all indexes what you have defined on your system &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 10:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674492#M230876</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-01-17T10:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674509#M230884</link>
      <description>&lt;P&gt;There is no 100% reliable way. There are some common cases which can be covered but you can only detect some typical cases where the indexes are specified explicitly. I can think of so many ways of specifying indexes dynamically (even generating index names randomly) that you can't find it automaticaly.&lt;/P&gt;&lt;P&gt;But the question is why do you even need that.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:39:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674509#M230884</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-17T12:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find which indexes are used?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674510#M230885</link>
      <description>&lt;P&gt;there is no easy way of doing it but check the macros an app uses and then in that macro normally there is&amp;nbsp; a search which points to an index. settings--&amp;gt;advanced search--&amp;gt;search macros and there you can find the index being used by app.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 12:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/674510#M230885</guid>
      <dc:creator>SinghK</dc:creator>
      <dc:date>2024-01-17T12:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/758957#M243315</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;But the question is why do you even need that."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In a large, complex environment, with sprawl over time and lack-luster documentation, I am finding that teams are reaching out to us (splunk admins) to track down the use of "their" index; what reports are referencing it, dashboards, usage (both access and ingest to it) and so on.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is an audit-type thought exercise that I think warrants valid inquiry and investigation. Knowing this information can provide insights in several arenas, including budgeting, permissions, necessity, efficiency and more.&amp;nbsp; I am replying here in the hopes that splunk developers see this, or that the community has a bit further input.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 19:56:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/758957#M243315</guid>
      <dc:creator>nckncklogrhythm</dc:creator>
      <dc:date>2026-03-02T19:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/758992#M243320</link>
      <description>&lt;P&gt;Yes, I've seen only too many times. But the thing is that it's a symptom of not well-enough defined processed and "undermanaged" environment. Ingest to specific indexes should be covered by proper onboarding process and it should be documented. Searching from an index generally should be covered by roles and therefore users' access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking dashboards/reports is a task which might give you false feeling of completness.&lt;/P&gt;&lt;P&gt;Let me give you an example.&lt;/P&gt;&lt;P&gt;You have a dashboard. The dashboard uses&amp;nbsp; a base search&lt;/P&gt;&lt;PRE&gt;`interesting_indexes` | stats count by host&lt;/PRE&gt;&lt;P&gt;The "interesting_indexes" macro is defined with an app and resoves to "index IN (firewall,hips)".&lt;/P&gt;&lt;P&gt;So far so good.&lt;/P&gt;&lt;P&gt;But a particular user redefined this macro privately to say "eventtype=windows_logoff". How are you supposed to know that this particular dashboard works differently for that user?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 22:49:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-which-indexes-are-used/m-p/758992#M243320</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-03-03T22:49:55Z</dc:date>
    </item>
  </channel>
</rss>

