Dashboards & Visualizations

Why is Dashboard Studio not recognizing newline?

jinishshah
Explorer

When I just display field "Writeup" from my Excel dataset which is like below:

"This is the first line.

This is the second line.

This is the third line."

While displaying the same in Dashboard Studio, it prints like below:

"This is the first line.This is the second line.This is the third line."

How can I resolve this issue

Labels (1)
Tags (2)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust
Can you please explain how you are adding the dataset and where and how you are using it?
0 Karma

jinishshah
Explorer

@VatsalJagani : Sorry for late reply. Dataset is an excel file. Below are more details

Excel file name: Writeup.csv

Data:

Header    Month   Writeup

Autosys   01-2022   There are many Autosys failures this month as compared to previous.

                                         Main reason of failure is Server reboot.

                                         All host issues have been resolved and numbers would do down this month

 

Query: | inputlookup Writeup.csv | where month="01-2022" and Header="Autosys"| fields Writeup

O/P: 

 There are many Autosys failures this month as compared to previous. Main reason of failure is Server reboot. All host issues have been resolved and numbers would do down this month

Expected O/P:

 There are many Autosys failures this month as compared to previous.

Main reason of failure is Server reboot.

All host issues have been resolved and numbers would do down this month

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

Ideally when you have a newline character in your CSV file.

Open that CSV file in a text editor (notepad, notepad++, etc), and your line should read something like:

Autosys,01-2022,"There are many Autosys failures this month as compared to previous.\n Main reason of failure is Server reboot.\n All host issues have been resolved and numbers would do down this month"

\n represents a newline character.

 

(Though, I'm not sure which component of Splunk Dashboard Studio treats \n as a newline character and which treats it as text.)

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...