Dashboards & Visualizations

Renaming Dashboard Names

msarkaus
Explorer

Hello, 

I'm fairly new to Splunk and I'm hoping someone could help me rename the API names in my Dashboard.  I have several names associated with urlPthTxt. 

 

Splunk Dashbaord03.pngSplunk Dashbaord01.png

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

"renaming" refers to changing the identifier of a field, as you did by changing "urlPNthTxt" to "API".  What you seek, however, is a change in the values stored in a field.  That requires an eval, replace, or sed (perhaps other commands that escape me ATM).

| replace "/V1/" with "" in API

or

| rex field=API mode=sed "s;/V1/;;"
---
If this reply helps you, Karma would be appreciated.

View solution in original post

msarkaus
Explorer

Thank you, both suggestions worked.. 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

"renaming" refers to changing the identifier of a field, as you did by changing "urlPNthTxt" to "API".  What you seek, however, is a change in the values stored in a field.  That requires an eval, replace, or sed (perhaps other commands that escape me ATM).

| replace "/V1/" with "" in API

or

| rex field=API mode=sed "s;/V1/;;"
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...