I'm setting up a dashboard and receiving data from prometheus through metricbeat, I'm facing problem when it comes to value mapping, in my case for "DoorStatus" i want to map the default integer values in 0 and 1 to display as 0=Unlocked, 1=Locked, similarly for "LockStatus" and for "BranchStatus" I need it as UP/DOWN, but I dont see any value in that field just a "-".
So is there any way we could map the values?
Screenshot is attached for reference.
Thanks for your response,
Earlier i was getting cpiPduDoorStatus & cpiPduDoorStatus.keyword, along with the error "Limit of total fields  has been exceeded" in logs which was fixed by increasing limit to 2000,
For your other question yes the field exists, maybe not in all Document ID's but in most of them,
Attaching a whole screen screenshot for better understanding,
On the left side you can see my discover search results, Add field script in the middle and the data preview on the right.
1- With one of the Document ID's containing the field
I got your point, it's totally unintentional actually I'm collecting data from network devices through SNMP using Logstash Snmp input plugin, Just for your reference I'm attaching my logstash-snmp.conf, Honestly it's nothing complex so i dont think the cause for this issue would be here, but I'm sure you can help.
Thanks alot for your support,
I understood your point now, Basically this is another refinement issue I'm trying to fix.
The correct numbers you are referring here are actually the OID's for the pdu fields,
So I have tried using oid_root_skip and oid_path_length function to shorten the extra parameters.
The typical raw output I was receiving was something like iso.org.dod.internet.private.enterprises.cpi.products.unity.econnect.easData.cpiEasTable.cpiPduDoorStatus= (value- 0/1). 1.12...........69 ,
Where the required field is only cpiPduDoorStatus= Value,
unfortunately I'm only able to reduce it to cpiPduDoorStatus= (value- 0/1). 1.12...........69 using oid_path_length hence the issue you rectified above.
Just to mention the issue is only when I'm using WALK, its basically giving the whole path length of the parent tree, sub tree etc.
While using GET I can perfectly rename it, but again not the most efficient way.
Hopefully you or someone else from the team will be able to help me with this, I could open a new topic for this but I feel with the above discussion it gives a better idea of the issue and how it is affecting while in use, rather than me trying to explain it in words.