<?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: How To List A Column Value Once in a Table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128056#M34751</link>
    <description>&lt;P&gt;This is close to what I was looking for, but the Browser got stripped from the table results. It successfully added the count column, but its giving a value of 1 for each web request. I need to sum the values for the number of times the IP occurred in the logs &lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2015 15:45:21 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2015-07-17T15:45:21Z</dc:date>
    <item>
      <title>How To List A Column Value Once in a Table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128054#M34749</link>
      <description>&lt;P&gt;I'm doing a project to detect click fraud. I created several extractions to take out the IP address, Web Request from that IP address, and the Browser they used from multiple indexes within Splunk. I put them in a table which is showing correctly but have one last issue explained below &lt;/P&gt;

&lt;P&gt;I currently have the same IP listed multiple times throughout the table with its web requests. I need to only list that IP Address one time with all the web requests. How can I go about making that IP address distinct to where it lists only once? &lt;/P&gt;

&lt;P&gt;I need all occurrences of the web requests tied to that IP to also be listed.. BONUS, how do I add another column counting the number of times that IP occurs?  &lt;/P&gt;

&lt;P&gt;Here's my search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=access OR index=main | transaction RTG_JSession   | table  RTG_IPmain RTG_WebRequest RTG_Browser | where isnotnull(RTG_IPmain)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jul 2015 14:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128054#M34749</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-07-17T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How To List A Column Value Once in a Table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128055#M34750</link>
      <description>&lt;P&gt;try &lt;CODE&gt;index=access OR index=main | transaction RTG_JSession | search RTG_IPmain!="" | stats count by RTG_IPmain, RTG_WebRequest, RTG_Browser | sort -count | stats list(RTG_WebRequest) as WebRequest, list(count) as count by RTG_IPmain&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 14:44:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128055#M34750</guid>
      <dc:creator>jnussbaum_splun</dc:creator>
      <dc:date>2015-07-17T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: How To List A Column Value Once in a Table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128056#M34751</link>
      <description>&lt;P&gt;This is close to what I was looking for, but the Browser got stripped from the table results. It successfully added the count column, but its giving a value of 1 for each web request. I need to sum the values for the number of times the IP occurred in the logs &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128056#M34751</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2015-07-17T15:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How To List A Column Value Once in a Table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128057#M34752</link>
      <description>&lt;P&gt;Added the RTG_Browser in: &lt;CODE&gt;index=access OR index=main | transaction RTG_JSession | search RTG_IPmain!="" | stats count by RTG_IPmain, RTG_WebRequest, RTG_Browser | sort -count | stats list(RTG_WebRequest) as WebRequest, list(RTG_Browser) as RTG_Browser, list(count) as count by RTG_IPmain, sum(count) as total by RTG_IPmain&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:44:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-To-List-A-Column-Value-Once-in-a-Table/m-p/128057#M34752</guid>
      <dc:creator>jnussbaum_splun</dc:creator>
      <dc:date>2020-09-29T06:44:26Z</dc:date>
    </item>
  </channel>
</rss>

