Splunk Search

Why are Interesting Fields not yielding complete values in the search result?

muguniya
Explorer

Hi,

When a blank space is introduced in values, the search results are not yielding complete values. Please see details below.

Event in Splunk looks like:

id=43777924d6-fda8-4c2b-9884-2f85c6f84b4e
queryType=join
accountName=Test Acc
anchor=
applicationName=Test Application
siteName=PUSH to Test Site

My current search and result using the table command:

index=db-general source="dbmon-tail://Logging*" | table accountName,applicationName,siteName

Actual Search Result in Table format does not have complete values for accountName, applicationName, siteName:

accountName    applicationName    siteName↕ 
Test           Test               PUSH  

Expected result should be as shown below:

accountName    applicationName    siteName
Test Acc       Test Application   PUSH to Test Site

Any help in this regard is much appreciated.

Thanks.

0 Karma

vinitatsky
Communicator

http://answers.splunk.com/answers/49390/field-with-single-value-but-value-has-spaces.html
I hope this helps.

Also you can check if 'accountNameWithSpace' is giving correct value (with spaces)

field=_raw "accountName=(?P[\S\s]+)"
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!

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 ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...