<?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 and all fields within each index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361186#M164037</link>
    <description>&lt;P&gt;@ajobling, if your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 17:40:55 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-01-03T17:40:55Z</dc:date>
    <item>
      <title>How to list of all indexes and all fields within each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361183#M164034</link>
      <description>&lt;P&gt;I can obtain a list of fields within an index eg.&lt;BR /&gt;index=bind_queries | stats values(*) AS * | transpose | table column | rename column AS Fieldnames&lt;/P&gt;
&lt;P&gt;and a list of all indexes,&lt;BR /&gt;| eventcount summarize=false index=* index=_* | dedup index&lt;/P&gt;
&lt;P&gt;But I'm struggling to successfully join the two.&lt;/P&gt;
&lt;P&gt;Anyone know of a solution?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 13:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361183#M164034</guid>
      <dc:creator>TonyJobling</dc:creator>
      <dc:date>2023-07-06T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: list of all indexes and all fields within each index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361184#M164035</link>
      <description>&lt;P&gt;Give this a try (will be a painfully slow search, try to put small time range in the &lt;CODE&gt;map&lt;/CODE&gt; subsearch)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eventcount summarize=false index=* OR  index=_* | dedup index | map  maxsearches=1000 search="search index=$index$ earliest=-24h| fieldsummary maxvals=1 | eval index=\"$index$\" | table index field | rename field as Fieldnames "
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jan 2018 16:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361184#M164035</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-01-03T16:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: list of all indexes and all fields within each index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361185#M164036</link>
      <description>&lt;P&gt;That seems to do the trick; I was not aware of the map command before. thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 17:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361185#M164036</guid>
      <dc:creator>ajobling1964</dc:creator>
      <dc:date>2018-01-03T17:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: list of all indexes and all fields within each index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361186#M164037</link>
      <description>&lt;P&gt;@ajobling, if your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 17:40:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/361186#M164037</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-01-03T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: list of all indexes and all fields within each index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/648973#M224446</link>
      <description>&lt;P&gt;Thanks&lt;BR /&gt;The problem is that it returns '1' in the current size column for all the indexes&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 08:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-list-of-all-indexes-and-all-fields-within-each-index/m-p/648973#M224446</guid>
      <dc:creator>sarit_s</dc:creator>
      <dc:date>2023-07-03T08:53:32Z</dc:date>
    </item>
  </channel>
</rss>

