<?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: ping test using batch file in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105950#M5985</link>
    <description>&lt;P&gt;You need first to line break each line as one event,ie you need to have the following in your props.conf for your sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pingpoc]
SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 23 Jul 2012 18:53:10 GMT</pubDate>
    <dc:creator>MarioM</dc:creator>
    <dc:date>2012-07-23T18:53:10Z</dc:date>
    <item>
      <title>ping test using batch file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105948#M5983</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a windows batch file (.bat) which reads a text (servers.txt) file (this file contains Host names) and produces the output of the ping test. Currently, I have 3 hosts mentioned in the servers.txt file and the output of the ping results which is displayed within Splunk is as below: My requirement is I want to group all the SUCCESS and FAILED hosts, how can I group it? Also, is there a way to colorize the text SUCCESS in green and FAILED text in RED color.&lt;/P&gt;

&lt;P&gt;HostName=Host8842, IPAddress=10.10.10.10, Status=SUCCESS&lt;BR /&gt;
HostName=Host9802, Status=FAILED&lt;BR /&gt;
HostName=Host41692, IPAddress=11.11.11.11, Status=SUCCESS&lt;BR /&gt;
host=SuperHost8366   |  sourcetype=pingpoc   |  source=E:\Program Files\Splunk\bin\scripts\pingtest.bat&lt;/P&gt;

&lt;P&gt;HostName=Host8842, IPAddress=10.10.10.10, Status=SUCCESS&lt;BR /&gt;
HostName=Host9802, Status=FAILED&lt;BR /&gt;
HostName=Host41692, IPAddress=11.11.11.11, Status=SUCCESS&lt;BR /&gt;
host=SuperHost8366   |  sourcetype=pingpoc   |  source=E:\Program Files\Splunk\bin\scripts\pingtest.bat  &lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:19:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105948#M5983</guid>
      <dc:creator>raghu_vaidya</dc:creator>
      <dc:date>2012-07-23T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: ping test using batch file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105949#M5984</link>
      <description>&lt;P&gt;EDIT : The fields I get is host, sourcetype and source and as part of the Interesting fields I can see HostName but the count is 1, which always is Host8842, and Status interesting field contains always the value of SUCCESS.&lt;BR /&gt;
Please let me know how can I use the search app to group the above text by Status.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105949#M5984</guid>
      <dc:creator>raghu_vaidya</dc:creator>
      <dc:date>2012-07-23T18:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: ping test using batch file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105950#M5985</link>
      <description>&lt;P&gt;You need first to line break each line as one event,ie you need to have the following in your props.conf for your sourcetype:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pingpoc]
SHOULD_LINEMERGE=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Jul 2012 18:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105950#M5985</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-07-23T18:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: ping test using batch file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105951#M5986</link>
      <description>&lt;P&gt;I added following to props.conf and it started working&lt;BR /&gt;
[pingpoc]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
BREAK_ONLY_BEFORE = HostName=&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105951#M5986</guid>
      <dc:creator>raghu_vaidya</dc:creator>
      <dc:date>2020-09-28T12:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: ping test using batch file</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105952#M5987</link>
      <description>&lt;P&gt;@raghu_vaidya  could you share your script?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ping-test-using-batch-file/m-p/105952#M5987</guid>
      <dc:creator>r34220</dc:creator>
      <dc:date>2017-01-03T23:46:56Z</dc:date>
    </item>
  </channel>
</rss>

