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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...