Splunk Search

How To Generate A Fixed Eval Field?

vtsguerrero
Contributor

I have a field in search time :

| eval Volume = (QuantityA + QuantityB)

How can I let this automatic, so I can just use Volume instead of creating this eval field for each query.

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

You can define calculated fields as mentioned in the link below. Whatever you put in EVAL can be used here.

http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/definecalcfields

View solution in original post

somesoni2
Revered Legend

You can define calculated fields as mentioned in the link below. Whatever you put in EVAL can be used here.

http://docs.splunk.com/Documentation/Splunk/6.2.0/Knowledge/definecalcfields

markthompson
Builder

You should be able to do this in your conf files, transforms.conf and fields.conf and props.conf

Take a look here, looks like somebody's already answered that question;
http://answers.splunk.com/answers/39405/adding-static-field-value-using-props-transforms-based-on-so...

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...