Security

How do I create a new field?

or1515
Loves-to-Learn Everything

Hey splunkers,

How do I create a new field in splunk?

 

If I have a windows security log with "User" field and I want to call it and use it as "Account".

I tried we Eval but didn't succeed. 

Thanks.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are several ways to create a field, but eval perhaps is the most common.  Please share your attempt so we can help determine what went wrong.

---
If this reply helps you, Karma would be appreciated.
0 Karma

or1515
Loves-to-Learn Everything

This is the query:

index="net" sourcetype="Okta" eventType="user.account.privilege.grant"
In the log there is field called "Username".
I want to change it to "User".

You ask why? 
I want to write a correlation rule from 2 different indexes and I want to use the same field for both.
Im waiting for an answer here: https://community.splunk.com/t5/Security/Correlation-rule/m-p/566419#M15581

0 Karma

isoutamo
SplunkTrust
SplunkTrust
Hi
try "rename Username as User"
r. Ismo
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...