Splunk Search

How to extract the timestamp and other fields from my sample event?

kiran331
Builder

HI

I need to extract the fields from the raw Cisco umbrella logs. Is there any add-on for this one or do I have to extract the fields manually?

"2015-01-16 17:48:41","ActiveDirectoryUserName","ActiveDirectoryUserName,ADSite,Network","10.10.1.100","24.123.132.133","Allowed","1 (A)","NOERROR","domain-visited.com.","Social Networking"

How to extract the fields:

ActiveDirectoryUserName as user

ADSite
Network
Allowed as action
domain-visited.com. as URL
Social Networking as category

0 Karma

mikaelbje
Motivator

Or just use this add-on which already does this for you and is CIM compliant: https://github.com/inspired/TA-OpenDNS

See the readme file for instructions on setting up your inputs using the Splunk AWS Add-on. Set the sourcetype to opendns:dnslog

0 Karma

woodcock
Esteemed Legend

Like this:

... | rex "^(?:\"[^\",]+\",)\"(?<user>[^\",]+)\",\"(?<user2>[^\",]+),(?<ADSite>[^\",]+),(?<Network>[^\",]+)\",(?:\"[^\",]+\",){2}\"(?<action>[^\",]+)\",(?:\"[^\",]+\",){2}\"(?<URL>[^\",]+)\",\"(?<category>[^\",]+)\""
0 Karma

kiran331
Builder

Thanks woodcock,

How to add this in props.conf

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...