Monitoring Splunk

Indexing and reading .tsidx files/directory-stored logs?

katmbro
Engager

Hello!

Our Splunk server receives dc logs on a daily basis from another network team. Under Files & Directories in Data Inputs, I have the file path for those logs configured to be continuously monitored since we receive those logs from another organization. I set a custom index for those logs and it's not showing any data in that index.

I've verified that it's not a permissions issue. I decided to manually upload one of those files into Splunk and noticed that they are .tsidx files. After uploading, I wasn't able to read any of the data on the .tsidx file. Is that normal? Am I doing anything incorrect? We need to be able to audit those dc logs.

Thanks in advance!

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Does the custom index exist on all of the indexers?  If not, then you won't find data in it.

If the data is not onboarded properly then finding it may be a challenge.  In particular, the timestamp field must be accurate.  If events are dated in the future (easy to do) then most searches will not find it.

Splunk tsidx files are not meant to be read by humans.  The contents are stored in a proprietary format.  Use Splunk to read the files (not directly, but by running a search).

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

View solution in original post

katmbro
Engager

Thank you for clarifying! I'm new to tsidx files so I didn't know if they were meant to be read. I guess we haven't been collecting the logs from active directory specifically so we're working on that. 🙂

richgalloway
SplunkTrust
SplunkTrust

Does the custom index exist on all of the indexers?  If not, then you won't find data in it.

If the data is not onboarded properly then finding it may be a challenge.  In particular, the timestamp field must be accurate.  If events are dated in the future (easy to do) then most searches will not find it.

Splunk tsidx files are not meant to be read by humans.  The contents are stored in a proprietary format.  Use Splunk to read the files (not directly, but by running a search).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...