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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...