<?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 to create chart view when you have all columns in same events ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379220#M111119</link>
    <description>&lt;P&gt;Provided one in my question is the Json format event which I have on my splunk. &lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2019 17:42:15 GMT</pubDate>
    <dc:creator>NirajAlly</dc:creator>
    <dc:date>2019-07-04T17:42:15Z</dc:date>
    <item>
      <title>How to create chart view when you have all columns in same events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379218#M111117</link>
      <description>&lt;P&gt;ok, let me try my best to explain my question here. &lt;/P&gt;

&lt;P&gt;I have Json format logs and now I need them to compare based on one of the value there.  below is sample event. &lt;/P&gt;

&lt;P&gt;{   [-] &lt;BR /&gt;
     cpuUtilization:    {   [-] &lt;BR /&gt;
         guest:  0&lt;BR /&gt;&lt;BR /&gt;
         idle:   100&lt;BR /&gt;&lt;BR /&gt;
         irq:    0&lt;BR /&gt;&lt;BR /&gt;
         nice:   0&lt;BR /&gt;&lt;BR /&gt;
         steal:  0&lt;BR /&gt;&lt;BR /&gt;
         system:     0&lt;BR /&gt;&lt;BR /&gt;
         total:  0&lt;BR /&gt;&lt;BR /&gt;
         user:   0&lt;BR /&gt;&lt;BR /&gt;
         wait:   0&lt;BR /&gt;&lt;BR /&gt;
    }&lt;BR /&gt;&lt;BR /&gt;
     diskIO:    [   [+] &lt;BR /&gt;
    ]&lt;BR /&gt;&lt;BR /&gt;
     engine:     MYSQL&lt;BR /&gt;&lt;BR /&gt;
     fileSys:   [   [+] &lt;BR /&gt;
    ]&lt;BR /&gt;&lt;BR /&gt;
     instanceID:     MyDB1  &lt;/P&gt;

&lt;P&gt;So I have same events coming from MyDB2, MyDB3.. etc. Now I want to get a below view. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    My DB1  My DB2  My DB3
 idle:  100 100 100
 irq:   0   0   0
 nice:  0   0   0
 steal: 0   0   0
 system:    0   0   0
 total: 0   0   0
 user:  0   0   0
 wait:  0   0   0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am very poor dealing with Multi value command if that is what I need to use here. Need your help. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 14:28:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379218#M111117</guid>
      <dc:creator>NirajAlly</dc:creator>
      <dc:date>2019-07-04T14:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create chart view when you have all columns in same events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379219#M111118</link>
      <description>&lt;P&gt;@NirajAlly community will be able to assist you better if you can share the raw JSON with valid JSON formatting (please mock anonymize any sensitive information before posting on Splunk Answers). Else provide the current fields that are currently available, with your current output, so that we can convert the same to the desired result.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 15:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379219#M111118</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-07-04T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create chart view when you have all columns in same events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379220#M111119</link>
      <description>&lt;P&gt;Provided one in my question is the Json format event which I have on my splunk. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 17:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379220#M111119</guid>
      <dc:creator>NirajAlly</dc:creator>
      <dc:date>2019-07-04T17:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create chart view when you have all columns in same events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379221#M111120</link>
      <description>&lt;P&gt;Hello @NirajAlly&lt;/P&gt;

&lt;P&gt;If for every instance you are getting different events then it will be pretty east easy&lt;BR /&gt;
as for every field which is visible on the json above will have one field available in interesting field&lt;/P&gt;

&lt;P&gt;Just click on All fields and try to search &lt;STRONG&gt;idle&lt;/STRONG&gt;,you will see the field exists and use that to run the chart command.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 12:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379221#M111120</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2019-07-05T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create chart view when you have all columns in same events ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379222#M111121</link>
      <description>&lt;P&gt;You have not given us much detail but probably something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=&amp;lt;You Should Always Specify An Index&amp;gt; AND sourcetype=&amp;lt;And sourcetype Too&amp;gt;
| stats avg(*) AS * BY host
| untable host metric value
| xyseries metric host value
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Jul 2019 00:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-chart-view-when-you-have-all-columns-in-same/m-p/379222#M111121</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-07-06T00:16:48Z</dc:date>
    </item>
  </channel>
</rss>

