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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...