Splunk Enterprise

Classic Dashboard - need line breaks in select cells

genesiusj
Builder

Hello,

This is the result from one of my rows in Search & Reporting (Web).

Job Code
039081934400000 (4)
082441325900000 (199)
 
However, when my code is used in a classic dashboard the results are this.
 
Job Code
039081934400000 (4) 082441325900000 (199)
 
How do I control my dashboard output to display like my search output?

 

 

| inputlookup job_codes_2024.csv
```all fields in the lookup above begin with the letter j, except for the field cntrl```
| foreach j*
```add line feed at the end of all fields beginning with the letter j```
   [| rex field=<<FIELD>> mode=sed "s/$/\n/g"]
```group all fields by the cntrl value```
| stats values(*) as * by cntrl

 

 

Thanks and God bless,
Genesius

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

Your Guide to Splunk Digital Experience Monitoring

A flawless digital experience isn't just an advantage, it's key to customer loyalty and business success. But ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...