Dashboards & Visualizations

Visualization using php sdk


How to render data to a graph example google charts using php sdk? Need some specific answers, example or hint.

Thanks in advance.

Tags (1)
0 Karma

Ultra Champion

There are some good examples online. Simply by googling "php google charts" you can find many examples of integrating PHP and Google Charts ie: https://developers.google.com/chart/interactive/docs/php_example

Based on that above example , it is using a PHP function on the server side to output a JSON document that gets sent to the browser for rendering with some JS (Google Viz API)

So in a Splunk context , on the server side , you'd execute a Splunk search using the Splunk SDK for PHP and output the search results in JSON. Code examples of executing a Splunk search are here.

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk Cloud Platform 9.1.2308?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2308! Analysts can ...

Index This | Why do they call it hyper text?

November 2023 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

State of Splunk Careers 2023: Career Resilience and the Continued Value of Splunk

For the past three years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...