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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...