This is driving me nuts 🙂 Trying to index a CSV file which a server creates once an hour (in this case this is DHCP assignment, but can be anything else -- note that I'm not looking for a specific info on bringing in DHCP data, but rather a general answer on CSV indexing).
I've created a deployment app for it, with the following conf files. The data is uploaded and is indexed, but the fields aren't extracted in the search (see below screenshot).
local\inputs.conf:
[batch://C:\users\batchUser\Survery\computer_information.csv]
sourcetype = ADSurvey
disabled = false
index = wineventlog
move_policy = sinkhole
interval = 5
local\props.conf:
[ADSurvey]
SHOULD_LINEMERGE = false
TRANSFORMS-ADSurvey = dhcp_csv
CHECK_METHOD = entire_md5
local\transforms.conf:
[dhcp_csv]
DELIMS = ","
FIELDS = "DNSHostName","IPv4Address","OperatingSystem","SamAccountName","whenCreated","whenChanged","Modified","objectSid","IPv6Address","OperatingSystemVersion"
My search doesn't seem to recognize the extracted fields:
... View more