<?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 How to show a table listing FIELDA values when FIELDB equals 00.000? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391129#M113863</link>
    <description>&lt;P&gt;Hi all&lt;BR /&gt;
I have read the documentation and tested for hours but I am somehow not grasping how searching works.&lt;/P&gt;

&lt;P&gt;I have 7000 events with multiple fields. I would like to display a table with one column called FieldA and populate the table with the value of FIELDA for every event where FIELDB = 00.000&lt;/P&gt;

&lt;P&gt;Examples of the things I have tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index FIELDA | table FieldA | FIELDB=00.000
index=index FIELDA where FIELDB=00.000 AS FieldA by index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any feedback or advice on how to achieve what i am trying to do would be much appreciated. The amount of Splunk documentation is a bit overwhelming.&lt;/P&gt;

&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 10:04:16 GMT</pubDate>
    <dc:creator>rayleadingham</dc:creator>
    <dc:date>2018-06-21T10:04:16Z</dc:date>
    <item>
      <title>How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391129#M113863</link>
      <description>&lt;P&gt;Hi all&lt;BR /&gt;
I have read the documentation and tested for hours but I am somehow not grasping how searching works.&lt;/P&gt;

&lt;P&gt;I have 7000 events with multiple fields. I would like to display a table with one column called FieldA and populate the table with the value of FIELDA for every event where FIELDB = 00.000&lt;/P&gt;

&lt;P&gt;Examples of the things I have tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index FIELDA | table FieldA | FIELDB=00.000
index=index FIELDA where FIELDB=00.000 AS FieldA by index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any feedback or advice on how to achieve what i am trying to do would be much appreciated. The amount of Splunk documentation is a bit overwhelming.&lt;/P&gt;

&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 10:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391129#M113863</guid>
      <dc:creator>rayleadingham</dc:creator>
      <dc:date>2018-06-21T10:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391130#M113864</link>
      <description>&lt;P&gt;Hey@rayleadingham,&lt;/P&gt;

&lt;P&gt;You can try this:&lt;BR /&gt;
index=index | table FieldA FieldB | where FieldB="00.000"&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391130#M113864</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-06-21T11:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391131#M113865</link>
      <description>&lt;P&gt;@deepashri, I think right way would be to get only required events from index&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index FieldB="00.000" 
| table FieldA FieldB 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391131#M113865</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-06-21T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391132#M113866</link>
      <description>&lt;P&gt;Your first attempt is close, but once you apply &lt;CODE&gt;| table FieldA&lt;/CODE&gt;, that is the only field you have, so you can't then filter for &lt;CODE&gt;FieldB&lt;/CODE&gt; anymore. So you need to first do the filtering and then apply the &lt;CODE&gt;table&lt;/CODE&gt; command to only show FieldA.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=index FIELDB="00.000" | table FieldA
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:42:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391132#M113866</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-06-21T11:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391133#M113867</link>
      <description>&lt;P&gt;This is excellent, simple and exactly what I was looking for!&lt;/P&gt;

&lt;P&gt;Thank you! &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:47:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391133#M113867</guid>
      <dc:creator>rayleadingham</dc:creator>
      <dc:date>2018-06-21T11:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to show a table listing FIELDA values when FIELDB equals 00.000?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391134#M113868</link>
      <description>&lt;P&gt;Thank you for your comments and suggestions, this works exactly like the answer that was written.&lt;/P&gt;

&lt;P&gt;Great help and much appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 11:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-show-a-table-listing-FIELDA-values-when-FIELDB-equals-00/m-p/391134#M113868</guid>
      <dc:creator>rayleadingham</dc:creator>
      <dc:date>2018-06-21T11:49:13Z</dc:date>
    </item>
  </channel>
</rss>

