Dashboards & Visualizations

file modified during boot not indexed

wieljer
Explorer

Hi Everyone,

I have a problem with Splunk not indexing an XML file, modified during the windows boot process. Windows 10 creates an encrypted file during bootup which our powershell script parses and places the result in a location "c:\tpm" using a windows startup script.

What I've tried
- I added MAX_EVENTS to the props.conf and also on the sourcetype on the indexer for 100,000 lines because it is larger than the default limit.
- If I open the xml file manually and add something into it, Splunk will pickup those changes.

Since the file is not indexed without being modified while the SUF is running, I figured a setting might be needed. Any ideas?

Thanks,
wieljer

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What are the current inputs.conf settings for the file?

---
If this reply helps you, Karma would be appreciated.
0 Karma

wieljer
Explorer

Hey thanks for the inquiry
[monitor://C:\TPM]
disabled = false
followTail = 0
sourcetype = winTPM
index = win10

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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...