Splunk Search

How does punct work?

cpeteman
Contributor

NOTE: I figured that a lot of people will search "How does punct work?" and want to know. So if you were wondering: Punct info about half way down is a basic explanation.

ACTUAL QUESTION:This questions is not as easy as the title sounds. I know exactly WHAT punct does my question is where does it do it? I want to make a similar field but I cannot find the punct field extraction in manager->fields. Does anyone know how to look at this?

Tags (2)
1 Solution

lguinn2
Legend

punct is called both an "internal" field and a "default" field. Like many other default fields, it is computed at parsing time and stored in the index. This is very different than search-time fields.

I agree with Luke; I think this is done in code as part of the parsing process. But perhaps a more knowledgeable person will chime in.

Documentation here: Use default fields

I couldn't find anything else.

View solution in original post

lguinn2
Legend

punct is called both an "internal" field and a "default" field. Like many other default fields, it is computed at parsing time and stored in the index. This is very different than search-time fields.

I agree with Luke; I think this is done in code as part of the parsing process. But perhaps a more knowledgeable person will chime in.

Documentation here: Use default fields

I couldn't find anything else.

cpeteman
Contributor

"didn't think that it would make sense to be a binary"
I meant that I didn't remember that it would make more sense that way. lol

0 Karma

saurabh_tek11
Communicator

@cpeteman @lukejadamec, To know more about punct you may refer to my answer here. Hope this will be of your help. Thank you - Saurabh

0 Karma

cpeteman
Contributor

Good enough for me I knew it was a default field but didn't think that it would make sense to be a binary. Coolio.

0 Karma

lukejadamec
Super Champion

Sounds like Splunk proprietary binary code to me.

Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...