Dashboards & Visualizations

Why is the original report name not visible when I add it to a dashboard?

bo2057
Loves-to-Learn

Hello

Why is the (original)report name not visible when I add it to a dashboard?

0 Karma
1 Solution

tiagofbmm
Influencer

In the comment before, I told you to copy just the part of the ref only.

Look at the example, it has only <title>Errors in the last 24 hours</title> and not <title>ref="Errors in the last 24 hours"</title>

So your title should be like this:
<title>TPS rate all transactions</title>

View solution in original post

0 Karma

tiagofbmm
Influencer

In the comment before, I told you to copy just the part of the ref only.

Look at the example, it has only <title>Errors in the last 24 hours</title> and not <title>ref="Errors in the last 24 hours"</title>

So your title should be like this:
<title>TPS rate all transactions</title>

0 Karma

bo2057
Loves-to-Learn

Got It. Thanks for your help.

0 Karma

tiagofbmm
Influencer

Please accept the answer and upvote

0 Karma

tiagofbmm
Influencer

Not your answer. Accept the answer I provided which is the one correct !

0 Karma

bo2057
Loves-to-Learn

alt text

0 Karma

tiagofbmm
Influencer

You can easily edit the panel where the report is and add the title to it

0 Karma

bo2057
Loves-to-Learn

I know, but I want the original name of the report shown on my dashboard, so I know what is the original report.

0 Karma

tiagofbmm
Influencer

In the dashboard, Edit Source, go to where the panel where the report is referenced, and copy the search name <search ref="ReportName"></search> to the title

0 Karma

bo2057
Loves-to-Learn

This is what i get in the tittle:
( search ref="TPS rate all transactions">
and i want
TPS rate all transactions

0 Karma

tiagofbmm
Influencer

A report when "copied" to a dahsboard doesn't come with the title. What you need to do is to open the Source of Dashboard, example:

<dashboard>
  <label>Test1</label>
  <row>
    <panel>
      <event>
        <search ref="Errors in the last 24 hours"></search>
        <option name="list.drilldown">none</option>
      </event>
    </panel>
  </row>
</dashboard>

And create a tag where you will put the copied name from the

<dashboard>
  <label>Test1</label>
  <row>
    <panel>
     <title>Errors in the last 24 hours</title>
      <event>
        <search ref="Errors in the last 24 hours"></search>
        <option name="list.drilldown">none</option>
      </event>
    </panel>
  </row>
</dashboard>

What is the problem with doing this?

0 Karma

bo2057
Loves-to-Learn
    <query>index=application_prm_et_secure host=vm000006* source=*prm* | stats sum(tps_val) by tps_time1 | sort +tps_time1</query>
    <earliest>-4h@m</earliest>
    <latest>now</latest>
    <sampleRatio>1</sampleRatio>

I get:

Warning on line 141: Unknown attribute "ref" for node "search"

0 Karma

tiagofbmm
Influencer

Now I don't understand. You said you were using a report, but now you are showing me a ad-hoc query in the dashboard.

Which of the options are you using? Embeded report into a dashboard OR a ad-hoc query?

This is how a embedded report shows:

<dashboard>
   <label>Test1</label>
   <row>
     <panel>
      <title>Errors in the last 24 hours</title>
       <event>
         <search ref="Errors in the last 24 hours"></search>
         <option name="list.drilldown">none</option>
       </event>
     </panel>
   </row>
 </dashboard>

This is how a ad-hoc search feeds a panel:

 <dashboard>
   <label>Test1</label>
   <row>
     <panel>
      <title>Errors in the last 24 hours</title>
       <event>
         <search>
     <query>index=application_prm_et_secure host=vm000006* source=*prm* | stats sum(tps_val) by tps_time1 | sort +tps_time1</query>
</search>
     <earliest>-4h@m</earliest>
     <latest>now</latest>
     <sampleRatio>1</sampleRatio>
0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...