<?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: Need help to generate report based in table format in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344194#M6065</link>
    <description>&lt;P&gt;hey, could you provide some sample events?&lt;/P&gt;

&lt;P&gt;If all of the columns are already extracted then with the columns provided then you can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;your_index&amp;gt; | table Hostname OS IPaddress LastLogReceived
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2018 06:30:30 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-02-02T06:30:30Z</dc:date>
    <item>
      <title>Need help to generate report based in table format</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344193#M6064</link>
      <description>&lt;P&gt;Need help to generate report based in table format in below format.&lt;/P&gt;

&lt;H1&gt;Hostname  OS IPaddress LastLogReceived &lt;/H1&gt;

&lt;P&gt;SRV1           Win  10.x.x.x  25/01/2018&lt;BR /&gt;
SRV2           Win  10.x.x.x  25/01/2018&lt;/P&gt;

&lt;H1&gt;SRV3           Linux 10.x.x.x 25/01/2018&lt;/H1&gt;

&lt;P&gt;TotalSRV = 3&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 04:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344193#M6064</guid>
      <dc:creator>syedak</dc:creator>
      <dc:date>2018-02-02T04:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to generate report based in table format</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344194#M6065</link>
      <description>&lt;P&gt;hey, could you provide some sample events?&lt;/P&gt;

&lt;P&gt;If all of the columns are already extracted then with the columns provided then you can try something like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;your_index&amp;gt; | table Hostname OS IPaddress LastLogReceived
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 06:30:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344194#M6065</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-02T06:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to generate report based in table format</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344195#M6066</link>
      <description>&lt;P&gt;Hi Mayurr98,&lt;BR /&gt;
Thanks for the help.&lt;/P&gt;

&lt;P&gt;I need something like this in my report&lt;/P&gt;

&lt;P&gt;|Srv1     | 10.x.x.x| Windows|&lt;BR /&gt;&lt;BR /&gt;
|Srv2     | 10.x.x.x| Windows|&lt;BR /&gt;
|Srv3     | 10.x.x.x| Windows|&lt;BR /&gt;
|Tot Srv = 3(count of servers)|&lt;/P&gt;

&lt;P&gt;Below is my search which i used for daily report, on top of this query i also need to count number of hostname that are present in this search result.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index= _internal fwdType ="*"
|eval lastUpdate=strftime(_time, "%d - %m -%Y %H:%M:%S")
|dedup hostname
| sort hostname asc
| table hostname, os, sourceHost, lastupdate
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 07:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344195#M6066</guid>
      <dc:creator>syedak</dc:creator>
      <dc:date>2018-02-02T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to generate report based in table format</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344196#M6067</link>
      <description>&lt;P&gt;Try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal fwdType="*" 
| eval lastUpdate=strftime(_time,"%d-%m-%Y %H:%M:%S") 
| dedup hostname 
| stats dc(hostname) as dc_count by hostname, os, sourceHost, lastUpdate 
| sort hostname asc 
| addcoltotals dc_count labelfield=hostname label="Total SRV"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 12:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344196#M6067</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-02T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to generate report based in table format</title>
      <link>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344197#M6068</link>
      <description>&lt;P&gt;Thanks Mayurr98.&lt;BR /&gt;
Worked for me to certain level.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 03:26:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Need-help-to-generate-report-based-in-table-format/m-p/344197#M6068</guid>
      <dc:creator>syedak</dc:creator>
      <dc:date>2018-02-05T03:26:43Z</dc:date>
    </item>
  </channel>
</rss>

