Dashboards & Visualizations

How to see _raw logs in the dashboard?

debdutsaini
New Member

I am trying to display raw logs in a dashboard but it removing the raw logs. Is there a way to display it? In standard search, it is showing the raw logs but not in dashboard.

Sample Query:

index=*
| eval device = coalesce(  dvc, device_name)
| eval is_valid_str=if(match(device, "^[a-zA-Z0-9_\-.,$]*$"), "true", "false")
| where is_valid_str="false"
| stats count by device, index, _raw

 

Labels (1)
0 Karma

thahir
Contributor

HI @debdutsaini ,

replace stats with table in the last line of your query like below

index=*
| eval device = coalesce(dvc, device_name)
| eval is_valid_str=if(match(device, "^[a-zA-Z0-9_\-.,$]*$"), "true", "false")
| where is_valid_str="false"
| table _time index device _raw

0 Karma

PrewinThomas
Motivator

@debdutsaini 

If it's in Dashboard studio,

You need to enable _internal fields to show the same in the dashboard.


Edit -> Data Display-> Select Internal fields

Regards,
Prewin
Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...