<?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: Creating dashboard with 4 columns in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698992#M237319</link>
    <description>&lt;P&gt;Thank you soo much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 10:17:49 GMT</pubDate>
    <dc:creator>shenoyveer</dc:creator>
    <dc:date>2024-09-13T10:17:49Z</dc:date>
    <item>
      <title>Creating dashboard with 4 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698957#M237304</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am sending json data to Splunk server and I want to create a dashboard out of it.&lt;/P&gt;&lt;P&gt;My data is in the below format and I need help in creating the dashboard out of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;value&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; ["new-repo-1&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;2: yes: 17&lt;/SPAN&gt;&lt;SPAN&gt;", "new-repo-2&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;30:no:10&lt;/SPAN&gt;&lt;SPAN&gt;", "new-one-3&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;15:yes:0&lt;/SPAN&gt;&lt;SPAN&gt;", "old-repo&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&amp;nbsp;1&lt;SPAN class=""&gt;0:yes:23&lt;/SPAN&gt;&lt;SPAN&gt;", "my-repo&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;10:no:15&lt;/SPAN&gt;&lt;SPAN&gt;"]} and many more similar entries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my dashboard should look like,&lt;/P&gt;&lt;TABLE width="288"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="96"&gt;repos&lt;/TD&gt;&lt;TD width="64"&gt;count&lt;/TD&gt;&lt;TD width="64"&gt;active&lt;/TD&gt;&lt;TD width="64"&gt;count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;new-repo&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;new-repo-2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;new-one-3&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;old-repo&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;my-repo&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;no&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to write the rex for single field using &lt;STRONG&gt;extract pairdelim="\"{,}" kvdelim=":"&lt;/STRONG&gt; but not able to do it for complete dashboard.&lt;/P&gt;&lt;P&gt;can someone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Veeresh Shenoy&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 04:28:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698957#M237304</guid>
      <dc:creator>shenoyveer</dc:creator>
      <dc:date>2024-09-13T04:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dashboard with 4 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698965#M237310</link>
      <description>&lt;P&gt;Your data looks like JSON so perhaps you should start by extracting the value collection into a multivalue field. You can then use mvexpand to split it into separate events, and use rex to extract the fields. Note that you can't have two columns / fields with the same name as you have shown&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| spath value{} output=value
| mvexpand value
| rex field=value "(?&amp;lt;repos&amp;gt;[^:]+):\s*(?&amp;lt;count&amp;gt;\d+):\s*(?&amp;lt;active&amp;gt;\w+):\s*(?&amp;lt;othercount&amp;gt;\d+)"
| table repos count active othercount&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 13 Sep 2024 07:45:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698965#M237310</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-13T07:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dashboard with 4 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698992#M237319</link>
      <description>&lt;P&gt;Thank you soo much&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this worked for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 10:17:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/698992#M237319</guid>
      <dc:creator>shenoyveer</dc:creator>
      <dc:date>2024-09-13T10:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dashboard with 4 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/699178#M237375</link>
      <description>&lt;P&gt;This query worked but I have found one issue that its taking duplicate values in dashboard if we run it again&lt;/P&gt;&lt;P&gt;is there any way that we can avoid old value if we run multiple times in lesser time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 11:47:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/699178#M237375</guid>
      <dc:creator>shenoyveer</dc:creator>
      <dc:date>2024-09-16T11:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating dashboard with 4 columns</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/699179#M237376</link>
      <description>&lt;P&gt;I got the query that we need to use dedup&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks anyway.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 11:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-dashboard-with-4-columns/m-p/699179#M237376</guid>
      <dc:creator>shenoyveer</dc:creator>
      <dc:date>2024-09-16T11:53:01Z</dc:date>
    </item>
  </channel>
</rss>

