All Apps and Add-ons

Why does stats commands escape strings to html character?

kyoung2580
Explorer

step1: search commands return strings that has url encoded character

1.png

step2: after used urldecode funtion

2.png

step3: after used stats commands

3.png

 

what can i do? Any help is highly appreciated.:)

 

step4: I tried using decrypt2 app, but it doesn't work if the string is long. 

4.png

 

5.png

Labels (1)
Tags (4)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Part of this is to do with the way data is presented, particularly when there are html tags included. The data is probably still there in its original format - depending on what you ultimately trying to do, does this matter?

0 Karma

kyoung2580
Explorer

I just want result that is easy to read.:)

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@kyoung2580 

your Url decoding works fine. But your data is HTML encoded also. So you need to do html encoding. 

Let me check I have any solution for this,

KV

0 Karma

kyoung2580
Explorer

I tried using decrypt2 app, but it doesn't work if the string is long.:)

0 Karma

inventsekar
SplunkTrust
SplunkTrust

You meant to say that, the "stats count by param" is not counting as expected?!?!

can you copy paste few examples of the "param" field, thanks. 

 

 


Best Regards,
Sekar
my youtube channel for Splunk Newbie Learnings
https://www.youtube.com/@SiemNewbies101/videos

the rex videos playlist: https://www.youtube.com/watch?v=rXT35CnWorw&list=PLIJcAov3YzES8PJSX8gZ8cTHWsjh8KeyG

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

kyoung2580
Explorer

Stats results are accurate. I just want result that is easy to read.:)

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

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...