Splunk Search

how to make a simple table with raw data fields and non fields data in Splunk enterprise?

salmanbpc
New Member

Hello Everyone.

im trying to make a simple table for the log file which i have uploded in Splunk. i can able to get the fields in column but not the remaining event data ????

for Ex: this is one sample event
Aug 24 12:02:55 1 1 15662575.1275737 MX80 urls src=17 dst=1.1.1.1:443 mac=00:9C:73 request: UNKNOWN https://abc.network-auth.com/...

from this i couldint able to fetch request and https data into my table. the other data is fetched with the help of table command because they are fields.

can anybody help me out.............

Tags (1)
0 Karma

renjith_nair
Legend

@salmanbpc ,

Please dont include any sensitive information including the IP addresses and actual URLs in the question. It's masked for now

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

salmanbpc
New Member

thanks renjith... will take care going ahead

0 Karma

renjith_nair
Legend

@salmanbpc ,

You may use rex to extract the fields

For e.g. try this with the sample data

your search|rex field=_raw "request:\s(?<Request>\w+)\s(?<URL>.+)"

You may adjust the rex based on your actual data.

Reference : https://docs.splunk.com/Documentation/Splunk/7.3.1/SearchReference/Rex

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...