Splunk Search

How to show Error inputs gracefully

Saikat001
Explorer

How to display the error input or value errors in a pop up? I am trying to build a custom command and want to show errors raised or returned in a pop up or modal.

For example: In the inputlookup , if no csv name is provided, it will return below error. How to show it in form of an pop up or modal? Also how to remove the First line and display only the 2nd and 3rd line?

@splunk  @niketnilay

Saikat001_1-1661480579728.png

 

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@Saikat001 

You can achieve this with Custom Search Bar using JavaScript Extensions. 

You can find the code for Custom Search Bar in Niket's answer in the below link.

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-app-banner-css-when-open-sea...

And find the code for Custom Modal in my answer in the below link.

https://community.splunk.com/t5/Dashboards-Visualizations/Modal-Drill-down/m-p/555986

I hope this will help you.

 

Thanks
KV


If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

 

0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...