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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...