Hello Splunk Community,
I am facing this issue and was hoping if anyone could help me:
In the Splunk datamodel, for the auto-extracted fields, there are some events whose fields are not being extracted. Majority of the events have their fields extracted but there are some 10-15 events whose fields are not being extracted properly.
Any suggestions/ideas as to what is causing this discrepancy?
Thanks!
@Cvlcceo - It's a field extraction issue and not a data-model issue. Kindly please fix the issue with field extraction or data.
@Shubhanker99 - It's possible as data-model solely relies on the events and their extraction.
For example, if I'm having data in which IPs are present and I'm extracting the field src_ip, but then I have some events where IP is not present then src_ip field will not be present in the data-model as well.
What you should do:
I hope this helps!!!
@VatsalJagani thanks for the comment. The 10-15 events whose fields are not being extracted properly also have those said fields. Right now I am using eval expressions to extract the important fields which are not being extracted but I wanted to know the root cause of why those fields are not being extracted, just to know in what cases the fields might not be extracted and prepare other plans for those cases.
@Shubhanker99 - There could be hundreds of reasons why a field is not being extracted. But it depends on mainly two things that you need to check:
By looking at these two, you should be able to identify what is wrong with the extraction configuration.