Splunk Search

Issue with updating dashboard with new results

Trex1
Explorer

Hi there,

I've set up a dashboard with various columns, one of them outputs a  number field which has a comma(,) in it. I can remove the comma using the following command rex field=SurveyAnswers mode=sed "s/\,//g"  where SurveyAnswers is the table name. This works fine in a separate search, however the same command doesn't work when I try to update it in my dashboard and save. Any ideas ??? Thanks

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the full dashboard query where SurveyAnswers is being modified.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Trex1
Explorer

HI @richgalloway  here is the query. 

index=adobe sourcetype=marketing "voiceofcustomerdetail" records(s)
|rex field=_raw "^(?:[^\t\n]*\t){6}(?P<SurveyAnswers>[^ ]+)"
|sort -_time
|eval Date = strftime(_time,"%Y-%m-%d %H:%M:%S")
|eval Status=if(isnotNull(Date),"Processed","NOK")

|rex mode=sed field=SurveyAnswers "s/,//"
|table Date SurveyAnswers Status

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...