Getting Data In

How to index unstructured text file?

mukundd
New Member

I'm facing issue with indexing unstructured text file. Is there any config setting?

Tags (2)
0 Karma

ashutoshab
Communicator

Can you please mention some more details, such as the file type, contents of the file and what is the issue you are facing.

Splunk does not face any problem with unstructured data. The only requirement is your data should be in ASCII format. Splunk does not worry about whether the data is structured or not, it just needs to be in ASCII format.

There are some possibilities,

  1. Either the data is not a text file / ASCII data.
  2. The data is indexed but you are not able to search them.
  3. You are able to search the data but the fields are not extracted.

Please write details about your issue and we can help to fix them.

0 Karma

mukundd
New Member

Hi Ashutosh,
I've converted pdf file (unstructured) into text file and indexed same.
Issue I'm facing with extracting fields, I've extracted Patient Name, Provider, Date of Birth, Visit Date, however facing issue with extracting columnar data (table) as below (table may having variable no. of rows).

Dx Code
Diagnosis Code Comment
Other fatigue R53.83

Pruritus, unspecified L29.9

0 Karma

DavidHourani
Super Champion

Hi @mukundd,

There are settings in props.conf for your line breakers and other index time actions. Share your text file with us and we can help you with the indexing issue.

You can find all the settings here :
https://docs.splunk.com/Documentation/Splunk/latest/admin/Propsconf

Cheers,
David

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...