<?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: List of all indexes containing access logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531713#M150181</link>
    <description>&lt;P&gt;What identifies web access log data in your Splunk environment?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 14:32:23 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-12-02T14:32:23Z</dc:date>
    <item>
      <title>List of all indexes containing access logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531689#M150175</link>
      <description>&lt;P&gt;Hello all, and thanks for the assistance ahead of time. How can I produce a list of all Splunk index names for indexes in my enterprise Splunk Cloud that contain web access log data? Is there a way to do it without scanning all indexes and inspecting data in each one to figure it out?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 13:34:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531689#M150175</guid>
      <dc:creator>bl</dc:creator>
      <dc:date>2020-12-02T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: List of all indexes containing access logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531713#M150181</link>
      <description>&lt;P&gt;What identifies web access log data in your Splunk environment?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531713#M150181</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-02T14:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: List of all indexes containing access logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531716#M150183</link>
      <description>&lt;P&gt;That's the piece I don't know. Is there an attribute or metadata on an index that says "this index contains web access logs"? I know that choice is made when the index is created; I figured it would be exposed or queryable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531716#M150183</guid>
      <dc:creator>bl</dc:creator>
      <dc:date>2020-12-02T14:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: List of all indexes containing access logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531720#M150186</link>
      <description>&lt;P&gt;An index is just a bucket into which one dumps data.&amp;nbsp; There is no attribute that says "this index contains web access logs".&amp;nbsp; Even when an index is created, there is no specification of what will go into it other than events or metrics.&amp;nbsp; The data going into an index can change so having such a label would be challenging to manage.&lt;/P&gt;&lt;P&gt;If your data is labeled by sourcetype then you may be in luck.&amp;nbsp; You can list which indexes contain which sourcetypes using a query like this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=* by index,sourcetype | fields - count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, if you know the exact sourcetype then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=* sourcetype=foo by index | fields - count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:23:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/List-of-all-indexes-containing-access-logs/m-p/531720#M150186</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-02T15:23:54Z</dc:date>
    </item>
  </channel>
</rss>

