<?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 Which alerts reference a specific index? in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Which-alerts-reference-a-specific-index/m-p/660732#M1520</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to determine how to see what alerts are using specific indexes in Splunk?&amp;nbsp; Is there a way to search that? So if I wanted to see all alerts that are using index=firewall, for example, how would I get that?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 18:59:15 GMT</pubDate>
    <dc:creator>jlkitz</dc:creator>
    <dc:date>2023-10-13T18:59:15Z</dc:date>
    <item>
      <title>Which alerts reference a specific index?</title>
      <link>https://community.splunk.com/t5/Other-Usage/Which-alerts-reference-a-specific-index/m-p/660732#M1520</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to determine how to see what alerts are using specific indexes in Splunk?&amp;nbsp; Is there a way to search that? So if I wanted to see all alerts that are using index=firewall, for example, how would I get that?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 18:59:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Which-alerts-reference-a-specific-index/m-p/660732#M1520</guid>
      <dc:creator>jlkitz</dc:creator>
      <dc:date>2023-10-13T18:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Which alerts reference a specific index?</title>
      <link>https://community.splunk.com/t5/Other-Usage/Which-alerts-reference-a-specific-index/m-p/660737#M1521</link>
      <description>&lt;P&gt;Consult your environment's documentation.&lt;/P&gt;&lt;P&gt;But seriously - an alert is just a scheduled search. You can't automatically determine which indexes will be used when the search is run. Yes, you can do a search for some common ways of specifying the index (most importantly the literal "index=something" string) but as you think of more ways of specifying the index to search it gets more and more impossible.&lt;/P&gt;&lt;P&gt;Apart from simple "index=something" way you can do:&lt;/P&gt;&lt;P&gt;1) index IN (some set)&lt;/P&gt;&lt;P&gt;2) use an alias which will expand to a set of parameters (including index(es))&lt;/P&gt;&lt;P&gt;3) place a condition on eventtype which can resolve to a condition for index(es)&lt;/P&gt;&lt;P&gt;4) use a subsearch which will dynamically create a index=something parameter (theoretically you can even choose index randomly this way).&lt;/P&gt;&lt;P&gt;So you can see that in general case there is no way to reliably determine before running the search which indexes will be searched.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 19:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Which-alerts-reference-a-specific-index/m-p/660737#M1521</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-10-13T19:47:30Z</dc:date>
    </item>
  </channel>
</rss>

