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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...