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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...