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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...