Splunk Dev

How to pass the values from django view to python backend file and how retrieve the results form python backend files to django view

UshaReddyDondet
Engager

I am developing an application using django frame work in splunk. I have created a form which can take input from the user.
For this I have created a text box to give input data through html file and created conf file in default folder to initialize the variables and forms.py file to read the input values given by the user, in splunk using django frame work.
After giving input data and on click of Submit button, I have to pass this input data from html file to python backend files, validate the input data in python backend files. This validated data should be converted in to an object. This object should be sent to another html file, and the results in the object should be displayed to the user.
My question is using django frame work,
1) How can I pass the input data given by the user from html file to python backend file on click of submit button?
2) How to manipulate the data in python backend file? I am not able to dubug the values stored in a variable in python backend file in views.py file. So how can i do it?
3) How to send the output data from python backend file to html file and display the output in the html file?

Kindly help me on this.

Tags (1)
0 Karma

vganjare
Builder
0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

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

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...