<html>
<h2>Events Trend</h2>
<div id="tagcloud-search1" class="splunk-manager splunk-searchmanager"
data-require="splunkjs/mvc/searchmanager"
data-options="{
"app": "androidForensics",
"preview": true,
"search": "index=androidforensics host=$$host$$ | eval sourcetype=case(sourcetype=\"gmailMessages\", \"Gmail message\", sourcetype=\"calendar_events\", \"Calendar_Event\", sourcetype=\"calls\", \"Phone Call\", sourcetype=\"wa_messages\", \"WhatsApp Message\", sourcetype=\"chrome_history\", \"Google Chrome History\", sourcetype=\"sms\", \"SMS\", sourcetype=\"gdrive_docs\", \"Google Drive document\") | stats count by sourcetype", "earliest_time": "", "latest_time": "" }">
</div>
<div id="tagcloud" class="splunk-view" data-require="app/androidForensics/tagcloud" data-options="{ "minFontSize": 12,
"maxFontSize": 45,
"managerid": "tagcloud-search1",
"valueField": "count",
"labelField": "sourcetype" }">
</div>
</html>
Above is a snippet of my tagcloud code, I am current trying to utilize the tagcloud to show my data
However I cant get the token "host" to work with it. I tried replacing the $ character with %24, but it is still not working.
The host is dynamic.
I was able to get this working by follow the anwser here talking about putting double $$'s but in the token safe format.
I am also trying to do something similar to this. I am wanting to add a time picker in and have the tag cloud panel use the timeframe from the picker. I am not having any luck. Anyone have any ideas or experience with adding time picker info in html panels?
$$host$$ should work fine..
data-options='{
"app": "androidForensics", "host"="$$host$$"
}'>
Thanks for the reply.
I updated my code
replacing $$host$$ dosent work for me
any other suggestion?