Dashboards & Visualizations

Panel created using rest api endpoint (servicesNS/admin/search/data/ui/panels) is not visible in my splunk enterprise UI

shreerajShetty
Loves-to-Learn

shreerajShetty_0-1733209675820.png

Relanto@DESKTOP-FRSRLVP MINGW64 ~
$ curl -k -u admin:adminadmin https://localhost:8089/servicesNS/admin/search/data/ui/panels -d "name=user_login_panel&eai:data=<panel><label>User Login Stats</label></panel>"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3990 100 3913 100 77 12955 254 --:--:-- --:--:-- --:--:-- 13255<?xml version="1.0" encoding="UTF-8"?>
<!--This is to override browser formatting; see server.conf[httpServer] to disable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-->
<?xml-stylesheet type="text/xml" href="/static/atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:s="http://dev.splunk.com/ns/rest" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<title>panels</title>
<id>https://localhost:8089/servicesNS/admin/search/data/ui/panels</id>
<updated>2024-12-03T12:27:38+05:30</updated>
<generator build="0b8d769cb912" version="9.3.1"/>
<author>
<name>Splunk</name>
</author>
<link href="/servicesNS/admin/search/data/ui/panels/_new" rel="create"/>
<link href="/servicesNS/admin/search/data/ui/panels/_reload" rel="_reload"/>
<link href="/servicesNS/admin/search/data/ui/panels/_acl" rel="_acl"/>
<opensearch:totalResults>1</opensearch:totalResults>
<opensearch:itemsPerPage>30</opensearch:itemsPerPage>
<opensearch:startIndex>0</opensearch:startIndex>
<s:messages/>
<entry>
<title>user_login_panel</title>
<id>https://localhost:8089/servicesNS/admin/search/data/ui/panels/user_login_panel</id>
<updated>2024-12-03T12:27:38+05:30</updated>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel" rel="alternate"/>
<author>
<name>admin</name>
</author>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel" rel="list"/>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel/_reload" rel="_reload"/>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel" rel="edit"/>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel" rel="remove"/>
<link href="/servicesNS/admin/search/data/ui/panels/user_login_panel/move" rel="move"/>
<content type="text/xml">
<s:dict>
<s:key name="disabled">0</s:key>
<s:key name="eai:acl">
<s:dict>
<s:key name="app">search</s:key>
<s:key name="can_change_perms">1</s:key>
<s:key name="can_list">1</s:key>
<s:key name="can_share_app">1</s:key>
<s:key name="can_share_global">1</s:key>
<s:key name="can_share_user">1</s:key>
<s:key name="can_write">1</s:key>
<s:key name="modifiable">1</s:key>
<s:key name="owner">admin</s:key>
<s:key name="perms"/>
<s:key name="removable">1</s:key>
<s:key name="sharing">user</s:key>
</s:dict>
</s:key>
<s:key name="eai:appName">search</s:key>
<s:key name="eai:data"><![CDATA[<panel><label>User Login Stats</label></panel>]]></s:key>
<s:key name="eai:digest">6ad60f5607b5d1dd50044816b18d139b</s:key>
<s:key name="eai:userName">admin</s:key>
<s:key name="label">User Login Stats</s:key>
<s:key name="panel.title">user_login_panel</s:key>
<s:key name="rootNode">panel</s:key>
</s:dict>
</content>
</entry>
</feed>


Relanto@DESKTOP-FRSRLVP MINGW64 ~
$



I have created the panel using the Rest api splunk doccumentation..
https://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTknowledge?_gl=1*5lyxk4*_gcl_au*MTY2MT...

After creating the panel its not showing in my Splunk enterprises UI. What is the actual use of this????



Labels (1)
0 Karma
Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...