<?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: Make a dashboard visual from calculated field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484352#M135572</link>
    <description>&lt;P&gt;I see, please accept the answer to close the question.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 21:01:26 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-03-02T21:01:26Z</dc:date>
    <item>
      <title>Make a dashboard visual from calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484349#M135569</link>
      <description>&lt;P&gt;Splunk n00b here with a question.&lt;/P&gt;

&lt;P&gt;I have a query I would like to display on a bar graph dashboard visual. Here is the query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=wsi_tax_summary sourcetype=stash partnerId=* error_msg_service=* ein=* ein!="" tax_year=2019 capability=109* 
| eval error_msg_service = case(match(error_msg_service, "OK"), "Success", 1==1, "Fail") 
| stats dc(intuit_tid) as Total by partnerId error_msg_service 
| chart limit=0 useother=f sum(Total) as Total by partnerId error_msg_service 
| eval total_request = Fail + Success 
| eval "Success Rate" = round(((Success/total_request)*100),2) 
| fieldformat "Success Rate"=tostring('Success Rate')+"%" 
| sort "Success Rate"
| fields partnerId "Success Rate"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Since I'm aiming for a bar graph, the values on Y axis should be partnerId and the X axis should be a value called "Success Rate", which I created with several eval statements. When I click into "visual", nothing produces. Looks like I can only do it with a chart or timechart function&lt;/P&gt;

&lt;P&gt;Anyone know how I can achieve this?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Feb 2020 00:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484349#M135569</guid>
      <dc:creator>hollybross1219</dc:creator>
      <dc:date>2020-02-29T00:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Make a dashboard visual from calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484350#M135570</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; index=wsi_tax_summary sourcetype=stash partnerId=* error_msg_service=* ein=* ein!="" tax_year=2019 capability=109* 
 | eval error_msg_service = case(match(error_msg_service, "OK"), "Success", 1==1, "Fail") 
 | stats dc(intuit_tid) as Total by partnerId error_msg_service 
 | chart limit=0 useother=f sum(Total) as Total by partnerId error_msg_service 
 | eval total_request = Fail + Success 
 | eval "Success Rate" = round(((Success/total_request)*100),2) 
 | sort "Success Rate"
 | fields partnerId "Success Rate"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think, you are not &lt;CODE&gt;n00b&lt;/CODE&gt; .&lt;BR /&gt;
try Visualization &amp;gt; Bar Chart&lt;/P&gt;</description>
      <pubDate>Sat, 29 Feb 2020 01:06:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484350#M135570</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-29T01:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Make a dashboard visual from calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484351#M135571</link>
      <description>&lt;P&gt;Hey @to4kawa, thank you. I guess the fieldformat messed up the viz &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 17:45:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484351#M135571</guid>
      <dc:creator>hollybross1219</dc:creator>
      <dc:date>2020-03-02T17:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Make a dashboard visual from calculated field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484352#M135572</link>
      <description>&lt;P&gt;I see, please accept the answer to close the question.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 21:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Make-a-dashboard-visual-from-calculated-field/m-p/484352#M135572</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-03-02T21:01:26Z</dc:date>
    </item>
  </channel>
</rss>

