Splunk Search

Should we add metadata...?

a212830
Champion

Hi,

I read this blog, which was great. I noticed that the app being mentioned - https://splunkbase.splunk.com/app/2975/#/overview - creates a custom metadata field. In the past, I've avoided doing this, based upon Splunks recommendations. Is this still the case, or is it now ok to create our own metadata fields? I'd love to add them, but if it's going to slow down the system significantly, it's not worth the hassle. At the same time, the can provide a lot of additional meaningful information.

0 Karma

ryanoconnor
Builder

Splunk still recommends against creating index-time extractions unless absolutely necessary for two reasons:

  1. Negative performance impact on your indexers
  2. This type of extraction is less flexible. If you end up wanting to alter it it would require re-indexing all of your data.

http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Indextimeversussearchtime

In addition to this, I just dug through the app and the app does not appear to be using splunk_syslog_server in the overview dashboard inside the app. Have you tried just installing this and skipping that step and seeing if the app works?

sloshburch
Ultra Champion

Which is the blog entry that you're referring to?

0 Karma

somesoni2
Revered Legend

The drawback of adding metdata field (at index time) is still valid (additional space of indexers as these will be stored in tsidx file as well and slower indexing performance).

0 Karma

a212830
Champion

How significant is this? I find it curious that this blog entry proposes adding metadata, but in the next breath it's not really something they recommend - especially for something like syslog, which is typically a large feed. Mixed signals...

0 Karma

jkat54
SplunkTrust
SplunkTrust

The "damage" done depends on the size of the FieldName and its value. Obviously reallyLongFieldNameasddgghkfkrjxnekznck=reallyLongValuedudjdjdjdjfjd. Would have more impact than a=1

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...