Getting Data In

An update was made to the identities.csv and now I'm not seeing the expected result count. What is going on?

DerekB
Splunk Employee
Splunk Employee

If I run:

| inputlookup identities.csv

xxxx results

That shows a different count in the results than

| datamodel("Identity_Management", "All_Identities")

yyyy results

What is going on? I thought I built my indentities.csv correctly.

Tags (1)
0 Karma
1 Solution

DerekB
Splunk Employee
Splunk Employee

Take a look at the python_modular_input.log file. This will give you clues as to what is happening. In this case, a field called _time was created and that is not allowed. I saw this error message:

ERROR pid=7888 tid=identity file=lookup_modinput.py:streaming_merge_task:283 | status="Exception when reading input files" exc=Field names cannot start with an underscore: '_time'

Once the field was corrected to not start with an underscore, things worked fine.

View solution in original post

0 Karma

DerekB
Splunk Employee
Splunk Employee

Take a look at the python_modular_input.log file. This will give you clues as to what is happening. In this case, a field called _time was created and that is not allowed. I saw this error message:

ERROR pid=7888 tid=identity file=lookup_modinput.py:streaming_merge_task:283 | status="Exception when reading input files" exc=Field names cannot start with an underscore: '_time'

Once the field was corrected to not start with an underscore, things worked fine.

0 Karma
Get Updates on the Splunk Community!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...