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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...