<?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 concatenate events from multiple hosts as single host in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608653#M211645</link>
    <description>&lt;P&gt;Thanks for this&lt;/P&gt;&lt;P&gt;what this regex will do&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=index name&amp;nbsp; |rex field=host "(?&amp;lt;host&amp;gt;[^\.]+)"&lt;BR /&gt;|stats count by host |dedup host&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using this search&lt;/P&gt;&lt;P&gt;as based below hostnames showing for single host due to dns resolution getting like this in splunk and how we can solve this problem as single hostname&amp;nbsp;&lt;/P&gt;&lt;P&gt;what was the workaround for to concatenate&amp;nbsp; for both as single host name&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p&lt;/TD&gt;&lt;TD&gt;2027&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Mon, 08 Aug 2022 09:21:29 GMT</pubDate>
    <dc:creator>sekhar463</dc:creator>
    <dc:date>2022-08-08T09:21:29Z</dc:date>
    <item>
      <title>How to concatenate events from multiple hosts as single host?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608460#M211553</link>
      <description>&lt;P&gt;Hai All,&lt;/P&gt;
&lt;P&gt;we have events from different hosts with same name. any search query to add them in single host field&lt;/P&gt;
&lt;P&gt;please suggest&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;dallvcrfix1p&lt;/TD&gt;
&lt;TD&gt;1913&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;dallvcrfix1p.ops.invesco.net&lt;/TD&gt;
&lt;TD&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 05 Aug 2022 14:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608460#M211553</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-08-05T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608462#M211554</link>
      <description>&lt;P&gt;if you just want total use this after your query&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;addtotals row=f col=t labelfield=host sum(field_you_want_count)&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:49:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608462#M211554</guid>
      <dc:creator>Siddharth</dc:creator>
      <dc:date>2022-08-05T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608463#M211555</link>
      <description>&lt;P&gt;index=indexname addtotals row=f col=t labelfield=host sum(host)&lt;/P&gt;&lt;P&gt;no results i am trying this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608463#M211555</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-08-05T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608465#M211556</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you send me the query how did you get this result&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix1p&lt;/TD&gt;&lt;TD&gt;1913&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix1p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:55:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608465#M211556</guid>
      <dc:creator>Siddharth</dc:creator>
      <dc:date>2022-08-05T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608481#M211565</link>
      <description>&lt;P&gt;i m using query&amp;nbsp;index=ivz_unix_linux_events |stats count by host&lt;/P&gt;&lt;P&gt;and in events we have hostnames with 2 hostnames so i want add count both for single filed&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;allhebsms1p&lt;/TD&gt;&lt;TD&gt;6434&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallhebsms1p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;41&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix1p&lt;/TD&gt;&lt;TD&gt;1688&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix1p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;82&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p&lt;/TD&gt;&lt;TD&gt;2027&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;fanlvairw1d&lt;/TD&gt;&lt;TD&gt;2773&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;fanlvairw1d.ops.invesco.net&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 05 Aug 2022 15:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608481#M211565</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-08-05T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608529#M211590</link>
      <description>&lt;PRE&gt;|rex field=host "(?&amp;lt;host&amp;gt;[^\.]+)"&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;|stats count by host&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Should do the trick.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 16:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608529#M211590</guid>
      <dc:creator>martinpu</dc:creator>
      <dc:date>2022-08-05T16:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608653#M211645</link>
      <description>&lt;P&gt;Thanks for this&lt;/P&gt;&lt;P&gt;what this regex will do&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=index name&amp;nbsp; |rex field=host "(?&amp;lt;host&amp;gt;[^\.]+)"&lt;BR /&gt;|stats count by host |dedup host&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am using this search&lt;/P&gt;&lt;P&gt;as based below hostnames showing for single host due to dns resolution getting like this in splunk and how we can solve this problem as single hostname&amp;nbsp;&lt;/P&gt;&lt;P&gt;what was the workaround for to concatenate&amp;nbsp; for both as single host name&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p&lt;/TD&gt;&lt;TD&gt;2027&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dallvcrfix2p.ops.invesco.net&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 08 Aug 2022 09:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608653#M211645</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-08-08T09:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to concatenate events from multiple hosts as single host</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608671#M211647</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sekhar463_0-1659955585998.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20931i958DC16341341816/image-size/large?v=v2&amp;amp;px=999" role="button" title="sekhar463_0-1659955585998.png" alt="sekhar463_0-1659955585998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while trying with above query still i am getting hostname are not getting one&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 10:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-concatenate-events-from-multiple-hosts-as-single-host/m-p/608671#M211647</guid>
      <dc:creator>sekhar463</dc:creator>
      <dc:date>2022-08-08T10:47:12Z</dc:date>
    </item>
  </channel>
</rss>

