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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...