Hello Guys,
I want one as shell script in which i want to extract only sourcetype name and TIME_FORMAT attribute from the props.conf. I tried to extract but some how it is not exactly extracting the results.
ls l grep 'TIME_FORM*' props.conf | awk '{print $0}' | sed 's/E_FORMAT=/ /
I tried for timeformat but i want sourcetype ne and its respective timeformat.Can anyone suggest this.
ls l grep 'TIME_FORM*' props.conf | awk '{print $0}' | sed 's/TIME_FORMAT=/ /g'