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
Get Updates on the Splunk Community!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...