I have a graph as shown in the figure below :
Server1 and Server2 are two different sources.
For now I did this drilldown :
<drilldown target="_What - Track Up Aps">
<condition field="Up"> <link> /app/search/what__track_up_aps?form.Up=$click.value$ </link> </condition> <condition field="Down"> <link> /app/search/what__track_down_aps?form.Down=$click.value$ </link> </condition> </drilldown>
When you click on Up you go on the dashboard at the address : /app/search/what_trackup_aps?
And when you click on Down you go on the dashboard at the address :
However, I want to do that:
- When I click on Up from Server1 I go on dashboard1
- When I click on Up from Server2 I go on dashboard2
I don’t know how to put a condition on “Server1” or “Server2”
Could you please help me with that ?
Thanks in advance
thanks. So I tried to add a dropdown on which I can choose to display server 1 or server 2.
I looked at the example on app Splunk 6x Dashboard Examples. There is a dropdown with different sourcetype.
I did the same but it didn't work. In my case the dropdown permit to choose between different sources (server1.csv and server2.csv)
<input type="dropdown" token="source" searchWhenChanged="true"> <label>Select a source:</label> <prefix>source="</prefix> <suffix>"</suffix> <choice value="*">All</choice> <search> <query>source=airwave* Status=Down| top limit=20 Type</query> </search> <fieldForLabel>source</fieldForLabel> <fieldForValue>source</fieldForValue> </input>