Dashboards & Visualizations
Highlighted

Is there a way to link multiple dashboards from an existing dashboard?

New Member

HI ,

I was able to create and link two dashboards with your assistance earlier and that was really helpful!

Currently i have a new requirement and need some assistance

Current setup :
Dashboard1 has a column chart with n number of servers. Once i click on any of them, it leads me to Dashboard2 which has a column representation of various/specific logs from all the servers belonging to the same pool. Selecting the required log leads me to the search page.

Now here is the new requirement :
From Dashboard1, if i click on a server from n servers, i need to be redirected to another dashboard which has logs related to that specific server only (i can create the dashboard, that should not be a problem).

Clicking on the specific log should take me to the search page with results.

My Question :

Is there any way we can link multiple dashboards from Dashboard1 ? (one dashboard (Dashboard1) linked to multiple dashboards for every individual server)

The number of servers in Dashboard is > 15 and wanted to know if this is a feasible request. If Yes, how do i achieve it?

I have tried creating a dashboard (Dashboard2) with multiple panels representing the servers, however it was ruled out.

Please suggest

-Praneeth

0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

Legend

Hi Kumar1980,
I'm not sure to have correctly understand your questions:

  • You have a dashboard with many servers,
  • clicking on one of them you drilldown in another different dashboard with all the events of that server, correct?
  • then clicking on one log of the second dashboard you want to open the search dashboard with the search parameters chosen with the click, correct?

if these are your need you have to configure the first drilldown as you already know and the second one using the "search" dashboard, something like this

<drilldown>
   <link>
       <![CDATA[search?tag1=$row.host&TimeDa=$Time.earliest$&TimeA=$Time.latest$]]>
    </link>
</drilldown>

Note: I inserted in the url parameters also the time period to have the same one also in the drilldown dashboard

Bye.
Giuseppe

View solution in original post

0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

New Member

HI Giuseppe,

Thanks for the response

1) I have a dashboard with many servers
2) clicking on one of them i drilldown in another different dashboard with all the events from all the servers in first dashboard (logs are not specific to the server that i click, they are from all the servers in the 1st dashboard)
3) Clicking the specific i will go to the search page

I need that if i click on a server the second dashboard should have a column chart with specific logs pertaining to that particular server only

So i will need to link multiple dashboards with the first one which are related to individual servers listed in the first dashboard

I wanted to know if it is possible to link multiple dashboards (>15) with the first one, if yes then how do i achieve it

First and third steps are not a problem i am concerned only with the second point 🙂

  • Praneeth
0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

New Member

HI There,

Can anyone pls update if there is a solution to the requirement provided

  • Praneeth
0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

Legend

Sorry, but I continue to not understand:
in the first dashboard, you have logs from all the servers in a table in which every row is the count for one server,
clicking on a row you drilldown in a second dashboard filtered by the clicked server and you want to show all the events of the clicked server, correct?

I don't understand why you want to drilldown in the second dashboard with events from all the servers.

Everyway if you want to have in a dashboard all the events of all servers, you can use the same search you used in the first dashboard, but instead of a stats command you have to use a table command.

Bye.
Giuseppe

0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

New Member

HI,

Reply inline :
in the first dashboard, you have logs from all the servers in a table in which every row is the count for one server,
clicking on a row you drilldown in a second dashboard filtered by the clicked server and you want to show all the events of the clicked server, correct? - Yes

I don't understand why you want to drilldown in the second dashboard with events from all the servers. - i did not know how do i drill down for all individual servers so used the current view as an alternate, if drill down for individual servers is possible this is no longer needed

As per my understanding if i had to link a dashboard to other i had to add a link under the drilldown tag with in the chart. I do not know if adding multiple links will work or not

The current requirement needs a column chart representation so just wanted to know if it is possible to link multiple dashboards form the first one, representing one dashboard for each individual server ?

  • Praneeth
0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

Legend

Hi Praneeth ,
To drilldown in another dashboard you have to create a second dashboard in which, in every search you insert the used tag (your_search $host$ | ...).
then in the first dashboard you have to insert in every panel the following rows

<link>
    <![CDATA[your_dashboard?host=$row.host&amp;TimeDa=$Time.earliest$&amp;TimeA=$Time.latest$]]>
 </link>

In this way, clicking on a row you pass the three tokens (host, earliest and latest) to the second dashboard.
Remember to put in the second dashboard, in every search the following rows:

  <earliest>$TimeDa$</earliest>
  <latest>$TimeA$</latest>

In this way you pass from the main dashboard to the second one: host, earliest and latest.

You don't need to have different dashboard for each server, but only one.

If you like, but I usually don't do this, you can use the search app as the second dashboard: for me it's better to build a second dashboard with only the columns (fields) I need.

Bye.
Giuseppe

0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

New Member

Thanks Cusello,

I will try it and get back to you if i face any issues

If possible i'll try to upload the code that i used

  • Praneeth
0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

New Member

HI Cusello,

I guess i have confused with what i was looking for , sorry for that and appreciate your time 🙂

Let me make simple and clear on what i need

Dashboard 1: number of errors/exceptions/timeouts (minus false alerts) grouped by hostname.

I have created this dashboard and have no issues with it (getting the desired results)

When I click on the hostname from Dashboard1 it should take me Dashboard2
Dasbhoard2: messages grouped by sourcetype, only for that host which i clicked (not across hosts).

This is where i am facing issues, i am not sure how do i link 1st and 2nd dashboard based on the hostnames

Please note that i am using a chart option and grouped the results in a column chart sorted host wise and looking for the same with Dashboard2 grouped by sourcetype

I am new to this so troubling you 🙂 The implementation is crucial for my ongoing project request you to help on this

  • Praneeth
0 Karma
Highlighted

Re: Is there a way to link multiple dashboards from an existing dashboard?

Legend

Hi Praneeth ,
I confirm that the way to obtain what you want is the one described in my previous comment:

  1. create first dashboard inserting the rows with drilldown and link;
  2. insert in in each search of the second dashboard the tokens (host, TimeDa and TimeA) as described.

at this point you'll have your drilldown.
There is only one additional information you need: if you'r creating a drilldown from a table you can use $row.host$, if instead your creating a drilldown from a chart you have to use a different token creation ($click.value$).
You can find rules to create your drilldown are at http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/tokens

In addition I suggest to you to download and installa the Splunk 6.x Dashboarda Examples Dashboard (https://splunkbase.splunk.com/app/1603/) in which is fully describes how to build a drilldown and other examples in dashboard building.

Bye.
Giuseppe

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.