Getting Data In

Reset splunk forwarder to read a file from a particular offset

raknair07
Engager

Using btprobe with --reset causes the splunk forwarder to re-read the entire file. However i want the forwarder to read only from a particular offset, and not necessarily from the beginning of the file. Can i do that? Is there a way i can set the "sptr" attribute associated with each file, to a particular value.

dwaddle
SplunkTrust
SplunkTrust

I would say there is no supported way to do this using the btprobe command. The btprobe tool itself is only barely supported - falling into the category of "Command Line Tools for Use with Support." Further, the documentation on btprobe does not discuss any way of accomplishing anything other than a 'full reset'.

0 Karma

Lowell
Super Champion

I think the answer is no. Added an upvote because I'd like an authoritative answer to this as well.

MuS
SplunkTrust
SplunkTrust

nice one - up voted as well

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...