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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...