I want to append new field with static value to the data during index time.
how to create with props.conf/transform.conf and no field extraction is required
You can use INGEST_EVAL = foo="bar"
in transforms.conf.
worked directly adding on inputs.conf.
[script://path/your_script.py]
_meta = script_name::abc.py
why do you need to do this? what is the use case?
if you need that data all the time ... you can add ... | eval NEW_FIELD = "YOUR STATIC VALUE" ...