<?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: Help with dashboard output in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508376#M33828</link>
    <description>I understand you are looking for code, but we can't provide code until we understand the problem. Can you explain in plain English how to transform the first photo into the last?&lt;BR /&gt;Can you please put the example query into a code block instead of an image so we can paste it into our own Splunk for testing?</description>
    <pubDate>Thu, 09 Jul 2020 18:33:32 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-09T18:33:32Z</dc:date>
    <item>
      <title>Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508318#M33815</link>
      <description>&lt;P&gt;How would I get from the first output to the final output?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="code.PNG" style="width: 726px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9590i25D7596EF436C82D/image-size/large?v=v2&amp;amp;px=999" role="button" title="code.PNG" alt="code.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First Output" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9587iB10A867D1FB24B89/image-size/large?v=v2&amp;amp;px=999" role="button" title="FirstOutput.PNG" alt="First Output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;First Output&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Finaloutput" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9588i598C20DF5DAEDCC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="FinalOutput.PNG" alt="Finaloutput" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Finaloutput&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 16:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508318#M33815</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2020-07-09T16:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508348#M33819</link>
      <description>Please explain more about what you want to accomplish. The three events in the example are all at the same time so the concept of "first" and "last" are a bit ambiguous.</description>
      <pubDate>Thu, 09 Jul 2020 16:50:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508348#M33819</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508351#M33820</link>
      <description>&lt;P&gt;I would like to use the data in the first photo (dashboard ) to create the second photo (dashboard).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 16:58:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508351#M33820</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2020-07-09T16:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508357#M33821</link>
      <description>That much is plain. What is not clear, however, is the transition from the first photo to the last. How is Splunk to decide which events to display?</description>
      <pubDate>Thu, 09 Jul 2020 17:18:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508357#M33821</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T17:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508361#M33824</link>
      <description>&lt;P&gt;the code for the transition from the first to the last is what I am trying to accomplish.&lt;BR /&gt;Displaying systemName, ID total of High and Critical by systemName. I attempted to use eval split function and mvindex but couldn't quite figure it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 17:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508361#M33824</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2020-07-09T17:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508376#M33828</link>
      <description>I understand you are looking for code, but we can't provide code until we understand the problem. Can you explain in plain English how to transform the first photo into the last?&lt;BR /&gt;Can you please put the example query into a code block instead of an image so we can paste it into our own Splunk for testing?</description>
      <pubDate>Thu, 09 Jul 2020 18:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508376#M33828</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508378#M33829</link>
      <description>&lt;P&gt;I apologize. I don't know how to transform the first photo into the last. I was given the last photo as an example and I am attempting to turn the first photo into the last, that is the reason why I am here. I was hoping that someone would know what it would take to transform the first photo into the last. I do not have the code to do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the code to the first solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;| makeresults&lt;BR /&gt;| eval systemName="CE", ID="12345-MA-12345", severity="Critical", vulnCount="10"&lt;BR /&gt;| append&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [| makeresults&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; | eval systemName="CE", ID="12345-MA-12345", severity="High", vulnCount="5"]&lt;BR /&gt;| append&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [| makeresults&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; | eval systemName="3E", ID="23456-MA-23456", severity="High", vulnCount="10"]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 18:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508378#M33829</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2020-07-09T18:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508390#M33832</link>
      <description>&lt;P&gt;It's not pretty and may not scale far, but this search converts your input into the desired output.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval systemName="CE", ID="12345-MA-12345", severity="Critical", vulnCount=10 
| append 
    [| makeresults 
    | eval systemName="CE", ID="12345-MA-12345", severity="High", vulnCount=5] 
| append 
    [| makeresults 
    | eval systemName="3E", ID="23456-MA-23456", severity="High", vulnCount=10] 
`comment("Above just creates test data")`
| stats sum(vulnCount) as vulnCount by ID, systemName, severity
`comment("The next two commands reduce the results to 3 fields for xyseries")`
| eval sys=ID."/".systemName
| fields sys, severity, vulnCount
`comment("Re-format the results")`
| xyseries sys severity vulnCount
| fillnull value=0
`comment("The next 2 commands restore the original field names")`
| eval sys=split(sys,"/")
| eval ID=mvindex(sys,0), systemName=mvindex(sys,1)
| table systemName, ID, High, Critical&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Jul 2020 19:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508390#M33832</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508872#M33880</link>
      <description>&lt;P&gt;thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 18:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508872#M33880</guid>
      <dc:creator>troy44112</dc:creator>
      <dc:date>2020-07-13T18:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with dashboard output</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508891#M33882</link>
      <description>&lt;P&gt;If your problem is resolved, then please click an "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 19:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Help-with-dashboard-output/m-p/508891#M33882</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-13T19:17:40Z</dc:date>
    </item>
  </channel>
</rss>

