Read notification.idx file

Hello Team,

I would like to know the command to read the notification.idx file in a human readable format.

Best regards.

How was this file generated? I am not familiar with it neither.

Nabil,

Under /var/log/confd_notifications/ these are the files I see.

ls -lrt
total 25400
-rw-rw-r–. 1 poornima poornima 13 Mar 2 2016 discovered_ap_events.siz
-rw-rw-r–. 1 poornima poornima 277235 Mar 2 2016 discovered_ap_events.1
-rw-rw-r–. 1 poornima poornima 18 Mar 2 2016 discovered_ap_events.idx
-rw-rw-r–. 1 poornima poornima 10485255 Aug 12 11:24 managed_ap_events.1
-rw-rw-r–. 1 poornima poornima 13 Nov 15 11:00 managed_ap_events.siz
-rw-rw-r–. 1 poornima poornima 26 Nov 15 22:17 managed_ap_events.idx
-rw-rw-r–. 1 poornima poornima 10485655 Nov 15 22:17 managed_ap_events.2
-rw-rw-r–. 1 poornima poornima 4735478 Nov 23 2016 managed_ap_events.3

We have an issue with the notifications which we would want to debug. This is configured under

            <builtinReplayStore>
                <enabled>true</enabled>
                <dir>/var/log/confd_notifications/</dir>
                <maxSize>S10M</maxSize>
                <maxFiles>10</maxFiles>
            </builtinReplayStore>

in the confd.conf file.

This file as you already noticed is binary and can’t be read by humans.
If the reason you want to read it is debugging I recommend enabling the NETCONF trace logs which will give you plenty of information.

<netconfTraceLog>
  <enabled>true</enabled>
  <filename>./netconf.trace</filename>
  <format>pretty</format>
</netconfTraceLog>