<?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 do I format the table output as below in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459278#M41102</link>
    <description>&lt;P&gt;index=source 0oamhvpskG93fy30b297 OR amhpp7ohgExCpYDx51478&lt;BR /&gt;
  |stats count by Application &lt;BR /&gt;
  |lookup applications.csv application_id as Application&lt;BR /&gt;
  |addcoltotals labelfield=Application_name label=Total count&lt;BR /&gt;
  |fields - Application&lt;/P&gt;

&lt;P&gt;Hello HiroshiSatoh,&lt;BR /&gt;
My search above returns: &lt;BR /&gt;
Error in 'lookup' command: Lookups: The lookup table 'applications.csv' does not exist or is not available.&lt;BR /&gt;
The search job has failed due to an error. You may be able view the job in the Job Inspector.&lt;/P&gt;

&lt;P&gt;5.3k ● 5 ● 5 ● 9&lt;/P&gt;

&lt;P&gt;5.3k ● 5 ● 5 ● 9&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:45:22 GMT</pubDate>
    <dc:creator>tnguyen125</dc:creator>
    <dc:date>2020-09-29T20:45:22Z</dc:date>
    <item>
      <title>how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459268#M41092</link>
      <description>&lt;P&gt;index=source a1 OR a2 OR a3 OR a4 OR a5&lt;/P&gt;

&lt;P&gt;how do I list the result them as&lt;/P&gt;

&lt;P&gt;Application     Count&lt;BR /&gt;
a1                     23&lt;BR /&gt;
a2                     54&lt;BR /&gt;
a3                     73&lt;BR /&gt;
a4                     52&lt;BR /&gt;
a5                     56&lt;BR /&gt;
Total                258 &lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 06:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459268#M41092</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-28T06:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459269#M41093</link>
      <description>&lt;P&gt;current search  that i have below. This search only give me the total events , not categorize by application&lt;BR /&gt;
index=source a1 OR a2 OR a3 OR a4 OR a5 | timechart span=1d count | sort -_time&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2018 06:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459269#M41093</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-28T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459270#M41094</link>
      <description>&lt;P&gt;Try this!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=source a1 OR a2 OR a3 OR a4 OR a5
|stats count by Application 
|addcoltotals labelfield=Application label=Total count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 29 Jul 2018 07:48:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459270#M41094</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-07-29T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459271#M41095</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;
&lt;CODE&gt;index=source a1 OR a2 OR a3 OR a4 OR a5 | timechart span=1d count by application&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 16:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459271#M41095</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-07-29T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459272#M41096</link>
      <description>&lt;P&gt;Hi Adorio, it does not work &lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 23:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459272#M41096</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-29T23:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459273#M41097</link>
      <description>&lt;P&gt;a1,a2,a3,a4,a5 are the application id's. How do name them as applications ?  &lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 23:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459273#M41097</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-29T23:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459274#M41098</link>
      <description>&lt;P&gt;a1,a2,a3,a4,a5 are the application id's. How do I name them as applications ? &lt;BR /&gt;
a1 = app1&lt;BR /&gt;
a2 = app2&lt;BR /&gt;
a3 = app3&lt;BR /&gt;
a4 = app4&lt;BR /&gt;
a5 = app5&lt;/P&gt;

&lt;P&gt;the output will be like this:&lt;/P&gt;

&lt;P&gt;app1 23&lt;BR /&gt;
app2 54&lt;BR /&gt;
app3 73&lt;BR /&gt;
app4 52&lt;BR /&gt;
app5 56&lt;BR /&gt;
Total 258&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 23:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459274#M41098</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-29T23:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459275#M41099</link>
      <description>&lt;P&gt;can you share a sample of your data?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 23:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459275#M41099</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-07-29T23:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459276#M41100</link>
      <description>&lt;P&gt;I think it would be better to use a lookup table.&lt;/P&gt;

&lt;P&gt;ex.)&lt;BR /&gt;
applications.csv&lt;/P&gt;

&lt;P&gt;application_id,application_name&lt;BR /&gt;
a1,app1&lt;BR /&gt;
a2,app2&lt;BR /&gt;
a3,pp3&lt;BR /&gt;
a4,pp4&lt;BR /&gt;
a5,app5&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=source a1 OR a2 OR a3 OR a4 OR a5
 |stats count by Application 
 |lookup applications.csv application_id as Application
 |addcoltotals labelfield=Application_name label=Total count
 |fields - Application 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;※Correct the field name correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459276#M41100</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2020-09-29T20:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459277#M41101</link>
      <description>&lt;P&gt;Hi HiroshiSatoh, it does not work&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 08:07:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459277#M41101</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2018-07-30T08:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459278#M41102</link>
      <description>&lt;P&gt;index=source 0oamhvpskG93fy30b297 OR amhpp7ohgExCpYDx51478&lt;BR /&gt;
  |stats count by Application &lt;BR /&gt;
  |lookup applications.csv application_id as Application&lt;BR /&gt;
  |addcoltotals labelfield=Application_name label=Total count&lt;BR /&gt;
  |fields - Application&lt;/P&gt;

&lt;P&gt;Hello HiroshiSatoh,&lt;BR /&gt;
My search above returns: &lt;BR /&gt;
Error in 'lookup' command: Lookups: The lookup table 'applications.csv' does not exist or is not available.&lt;BR /&gt;
The search job has failed due to an error. You may be able view the job in the Job Inspector.&lt;/P&gt;

&lt;P&gt;5.3k ● 5 ● 5 ● 9&lt;/P&gt;

&lt;P&gt;5.3k ● 5 ● 5 ● 9&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459278#M41102</guid>
      <dc:creator>tnguyen125</dc:creator>
      <dc:date>2020-09-29T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: how do I format the table output as below</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459279#M41103</link>
      <description>&lt;P&gt;You should do your own lookup table creation and lookup definition.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Aboutlookupsandfieldactions"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/Aboutlookupsandfieldactions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 01:00:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-do-I-format-the-table-output-as-below/m-p/459279#M41103</guid>
      <dc:creator>HiroshiSatoh</dc:creator>
      <dc:date>2018-07-31T01:00:22Z</dc:date>
    </item>
  </channel>
</rss>

