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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...