RegisterUnknown not working

I've got the following config for RegisterUnknowns. The log is telling me there is an unknown, but doesn't seem to be creating the device. I've read through the few other topics on this and I'm struggling a bit.

<entry key='database.ignoreUnknown'>false</entry>
<entry key='database.registerUnknown'>true</entry>
<entry key='database.registerUnknown.defaultGroupId'>1</entry>

I previously had been entering the name of the Group and after reading another post, I see its requesting the ID, so I changed that to 1, which in the DB corresponds to Unknown. I had been getting errors before, prompting me to revisit it. Now that I've adjusted, I just get a line in the log:

2025-03-27 17:35:01  WARN: Unknown device - EMS322-4 (xxx.xxx.xxx.xxx)

But it doesn't do anything with it. I've checked to see if its unassigned in Users, but I don't see it as an unassigned device in there. I've tried taking out the default group id entry and also adding the default category. I feel like I must be missing something simple, but I cannot figure out what it is. Any suggestions?

Anton Tananaev3 days ago

Make sure you set database.registerUnknown.regex to allow your ids.

Ok, so I've added that in and I've tried a few different RegEx statements, but the system still isn't doing anything with it. What syntax is that config parameter looking for?

I've tried
.
^.
^.$

Each time, I just get another Unknown Device line in the log, but nothing else.

Anton Tananaev3 days ago

None of those match the id you provided earlier.

Isn't period any character? I'm just looking to tell it to accept anything for right now while I get all of my devices in.

Anton Tananaev3 days ago

Period is any character, but your id is not a single character.

Ok....I don't deal with RegEx very often. Based on the documentation I thought it was like a wildcard.

Would .* or ^.*$ be more of what I'm looking for?

^.*$ is working now.