Dashboards & Visualizations

What do i need to debug Splunk app with js and simple XML in Eclipse

oscargamo
Engager

Hi All,

i don't know if possible, but i would like to know if i can debug a Splunk app with Advanced Xml with javascript using Eclipse to put breakpoints, etc.

if the answer is "Yes" How? i'm new working with Eclipse, js & Splunk.

Thanks & Regards,

1 Solution

jeffland
SplunkTrust
SplunkTrust

Not sure about Eclipse, but why don't you use your browser? It can set breakpoints, view and edit variables and all that good stuff just as well.

In Firefox and Chrome, you can press F12 and go to the "Debugger" (Firefox) or "Sources" (Chrome) tab to see the javascript- and other files used on your dashboard.

View solution in original post

jeffland
SplunkTrust
SplunkTrust

Not sure about Eclipse, but why don't you use your browser? It can set breakpoints, view and edit variables and all that good stuff just as well.

In Firefox and Chrome, you can press F12 and go to the "Debugger" (Firefox) or "Sources" (Chrome) tab to see the javascript- and other files used on your dashboard.

oscargamo
Engager

Hello Jeff,

Thank you so much from a Rookie. I'm using with Chrome and it's work perfectly.

Regards,

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...