Getting Data In

Add a field to a sourcetype with a static value

daniel333
Builder

I wanted to add a field to a specific sourcetype

basically

nocmessage="ignore this server"

Seemed easy enough
props.conf

EVAL-nocmessage="ignore this server"

But doesn't seem to work. If I toss that same message into a if statement it how ever does work. Is there a trick to this?

daniel333
Builder

Turns out I was being too impatient waiting for the search head cluster to sync.

😞

lguinn2
Legend

What are the permissions on the calculated field that you created? Is it visible in only one app, or is it global, etc?

0 Karma

somesoni2
Revered Legend

Where do you add this to props.conf ? I hope it's search head and you restarted your splunk instance after the change.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...