Sorry if my question doesn't make sense.
There are two types of app development in Splunk:
Both the methods have their own advantages and disadvantages, for ex:
- Django gives you more flexibility but lacks easy app development
- App creation using splunk UI lets you easily develop an app but lacks flexibility
Is there any way by which we can integrate both? I mean can I develop few features in UI and few in Django.
If yes then how can we achieve that
Please help.
Hello!
In your Django app, you can integrate both xml, html, and Django's views
$SPLUNK_HOME/etc/apps/your_app_name/django/your_app_name/templates
$SPLUNK_HOME/etc/apps/your_app_name/default/data/ui/views
$Splunk/etc/apps/your_app_name/appserver/static/html/
You can create and access your xml views via splunk web: settings -->user interface--> views
,
The nav menu on settings -->user interface--> Navigation Menu
let you manage all your pages. Here is an example
<nav>
<view name="my_xml_view" default="true"/>
<a href="/dj/redirector/Steph_Django/my_django_page">my first django page</a>
...
</nav>
Conclusion: With your django app, you can develop features in UI and Django
Thanks
Hello!
In your Django app, you can integrate both xml, html, and Django's views
$SPLUNK_HOME/etc/apps/your_app_name/django/your_app_name/templates
$SPLUNK_HOME/etc/apps/your_app_name/default/data/ui/views
$Splunk/etc/apps/your_app_name/appserver/static/html/
You can create and access your xml views via splunk web: settings -->user interface--> views
,
The nav menu on settings -->user interface--> Navigation Menu
let you manage all your pages. Here is an example
<nav>
<view name="my_xml_view" default="true"/>
<a href="/dj/redirector/Steph_Django/my_django_page">my first django page</a>
...
</nav>
Conclusion: With your django app, you can develop features in UI and Django
Thanks
Hi !
Thank you very much for your help ! 🙂