Splunk Enterprise Security

New file with extension (dot).lock

DawoodUlex
New Member

Hi Folks,

Does anyone have idea of files with extension (dot).lock

Thanks

0 Karma
1 Solution

nickhills
Ultra Champion

Ordinarily these are files left by an application to claim exclusive write access to a file.

Now whilst it is true any application could choose to name its file something.lock and store anything it likes in them, the common convention is to blacklist them so that they do not get indexed as they are often empty, or contain binary data.

If my comment helps, please give it a thumbs up!

View solution in original post

0 Karma

nickhills
Ultra Champion

Ordinarily these are files left by an application to claim exclusive write access to a file.

Now whilst it is true any application could choose to name its file something.lock and store anything it likes in them, the common convention is to blacklist them so that they do not get indexed as they are often empty, or contain binary data.

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

How I Instrumented a Rust Application Without Knowing Rust

As a technical writer, I often have to edit or create code snippets for Splunk's distributions of ...

Splunk Community Platform Survey

Hey Splunk Community, Starting today, the community platform may prompt you to participate in a survey. The ...

Observability Highlights | November 2022 Newsletter

 November 2022Observability CloudEnd Of Support Extension for SignalFx Smart AgentSplunk is extending the End ...