<?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: combining the results into one field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88557#M182187</link>
    <description>&lt;P&gt;I figured it out.. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;direction="external" sourcetype="sidewinder" action=blocked src_geo="US" OR src_geo="CA" | eval src_ip_and_src_geo=src_ip." - ".src_geo | top src_ip_and_src_geo showperc=f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 07 Oct 2011 20:34:49 GMT</pubDate>
    <dc:creator>mcbradford</dc:creator>
    <dc:date>2011-10-07T20:34:49Z</dc:date>
    <item>
      <title>combining the results into one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88554#M182184</link>
      <description>&lt;P&gt;My results are like...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;src_ip           src_geo      count
55.89.12.11      US           25
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want the result to be like...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;src_ip and src geo             count
55.89.12.11 - US               25
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want this so I can create a chart that shows the src_ip associated with a country and the count.&lt;/P&gt;

&lt;P&gt;the src_ip and src_geo - I want this to be a new field &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:57:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88554#M182184</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2020-09-28T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: combining the results into one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88555#M182185</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;eval&lt;/CODE&gt; to concatenate the field values together into a new field:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;yourbasesearch&amp;gt; | eval src_ip_and_src_geo=src_ip." - ".src_geo | stats count by src_ip_and_src_geo
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2011 20:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88555#M182185</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-10-07T20:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: combining the results into one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88556#M182186</link>
      <description>&lt;P&gt;When I did this - my count was 1 for each,  so I made a few changes..&lt;/P&gt;

&lt;P&gt;direction="external" sourcetype="sidewinder" action=blocked src_geo="US" OR src_geo="CA" | top src_ip, src_geo showperc=f | eval src_ip_and_src_geo=src_ip." - ".src_geo | fields - src_ip fields - src_geo&lt;/P&gt;

&lt;P&gt;This looks like I want it to, but it will not chart?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:58:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88556#M182186</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2020-09-28T09:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: combining the results into one field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88557#M182187</link>
      <description>&lt;P&gt;I figured it out.. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;direction="external" sourcetype="sidewinder" action=blocked src_geo="US" OR src_geo="CA" | eval src_ip_and_src_geo=src_ip." - ".src_geo | top src_ip_and_src_geo showperc=f
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Oct 2011 20:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/combining-the-results-into-one-field/m-p/88557#M182187</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2011-10-07T20:34:49Z</dc:date>
    </item>
  </channel>
</rss>

