Splunk Search

Python SDK real time search results in web page

kmattern
Builder

Is it possible to display results in a web page using a python script? It is easy to dispatch a search and display the results in web pages using python scripts but I can't get a handle on how to do it with a real time search. I've looked at the examples in the SDK but they really aren't very helpful, that includes stail.py.

0 Karma

paramagurukarth
Builder

You can make a custom Python end point by a simple configuration in web.conf and a python file...
How to create python end point ? Please refer --> http://wiki.splunk.com/Community:40GUIDevelopment
* In your python implementation you can execute your search, create a custom HTML out of the result and return it to your page
For real time :
You may have to post ajax request in some interval and update your page...

0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...