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!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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 ...