If the event has a URL and you want to show the URL in a search table where you can make the URL a clickable link that will go to that URL how do you do this?
for now, I'm doing this:
<drilldown>
<link target="_blank">$row.URL|n$</link>
</drilldown>
and it's working , but that's make all of my row to lead into this link, and i want that only when you click on the specific URL it will lead you to this link
To allow the user to click on a URL and be taken to that link, use $click.value2|n$ as the drilldown target.
<drilldown>
<link target="_blank">$click.value2|n$</link>
</drilldown>
There's an example in the Splunk Dashboard Examples app (https://splunkbase.splunk.com/app/1603)
Related
I Have 2 different dashboards and I am trying to link both the dashboards through links such that both the dashboards are accessible throught one other. I cannot put both in same page as load time will be more. The approach i have taken is by using drilldown
<drilldown>
<link target=_blank> link to another dashboard </link>
</dashboard>
But this doesnot work for me :/
If you want to drilldown into another dashboard, it will look like this
<drilldown target="My New Window">
<link>
/app/dashboard_examples/form_table2
form.sourcetype=$row.sourcetype$
</link>
http://docs.splunk.com/Documentation/Splunk/6.0.2/Viz/Dynamicdrilldownindashboardsandforms
i want to know how to use google api, can anyone give some example using php.
eg. use api to get picasa album rss.
Any help is appreciated!
For that you have to embed the video in your html with an iframe and a url like this:
<iframe src="https://drive.google.com/file/d/{videoID}/preview" width="640" height="480"></iframe>
Just change the {videoID} for the id of you video.
To get that code from Google, you should follow the next steps:
Open the video in your Drive.
In the top right of the view, you will see an icon that says "Pop-out", Click on it.
It will open the video in a new tab.
In the new tab click on the icon of the three dots that says "More actions" (in the top-center).
Select the option that says "Embed item...". You will see a popup with html code.
In general, there is no way to "predict" or "construct" a direct link to your Drive file. The supported method of getting the link is to use the Drive API. If you make an HTTP request to the file metadata endpoint https://www.googleapis.com/drive/v2/files/{fileId} with a valid API key, the webContentLink value should be the googleusercontent.com URL for your file.
You can try this out on the Google API Explorer - drive.files.get to see all of the information which is available through the Drive API.
Hello there i have a question about google search result.
I searched website on google and the result is just like following image:
I don't want to show parameter on google result. Is there a way to hide it?
Yes you can hide parameters in Google.
Follow
Google Webmaster --> Crawl --> URL Parameters
after that click Configure URL parameters ยป
than click add parameters
add parameters which you want not to index in Google.
Regards
original url
http://wwww.mydomain.com/image.php?id=13&cat=4&type=3$date=2011-03-14
i want to modify this dynamic url to something like this
http://www.mydomain.com/imageid/imagetitle (no php/html extension at the end )
plz if someone could help me in this , i have tried several online generators but my modification is little different.
I don't know how to write mods .
well, to get it you could need a page that redirects you to another location.
in the head section of your html page you have to specify a meta tag like it:
<meta http-equiv="refresh" content="0; http://www.mydomain.com/imageid/imagetitle" />
when you land on that page, it counts to seconds you specified in the first argument of content (in this case 0 seconds) and opens the new page passed as the second parameter.
a easy thing you could do to avoid extensions to be visible on the address bar of your browser is to create a folder in your web server (in your case "imagetitle") and put inside it an index page for example "index.html" which is the page loaded by default when a user aims to that link
I am trying to put a Google+ badge on my recently created websites at sites.google.com. When I copy the code and paste it into the HTML box actually nothing happens.
What am I doing wrong?
You can use to insert a Google+ Badge into your Google Sites pages using a custom gadget:
Get your Google+ profile ID, which you can get from the URL of your profile. The ID would be 123456789012345678901 for this URL: https://plus.google.com/123456789012345678901/ or would be +LarryPage for this URL: https://plus.google.com/+LarryPage/
Edit the page that you want to add the badge
Choose Insert-> ...More gadgets...
Search for G+ Badge.
Paste your profile ID into the G+ ID field.
Configure additional options as necessary for your page. You might need to adjust dimensions of the gadget container to get the badge to work well in your site.
Gadgets have limitations, this might not work perfectly but its probably the best way to get a badge onto your page.
There is a configuration tool for the Google+ Badge that you can find at https://developers.google.com/+/web/badge/.
The key points are that you need to add the HTML as a widget and include the JavaScript tag--which is the same JavaScript that loads any of our Google+ attributes.
I also made a 3 minute video explaining these steps last year, which you can view at http://www.youtube.com/watch?v=wLG4IIIPgnc.