I created pipeline rules and a pipeline to convert various FortiGate syslog fields from strings to doubles and IP addresses, with pipeline rules like this:
Do you have a step in those rules where you are writing the output of that conversion back to a field? you will want to have a set field command using that $output_1
Thought so. So that doesn’t have a direct connection to how the data is actually stored. What you need to do is change the field data type. You access that option by clicking the field name in any message (search results) that has that field in it, then you can manually select the data type the index uses. You then need to rotate the index after you do that for it to apply.
Good to know. Thanks. Is using a pipeline in an exported content pack the best way to set the data types the best way to set things up so others won’t need to do that?
Ah, I don’t think the field mappings can be deployed though a content pack, even if they could it would depend on the index they route the data to. You may do better to lay out the data schema in a readme file and say this field should be this data type etc