@Ravinder_Singh,
Your data output from your script needs to be in one of the data formats listed above in order to use the exec plugin. InfluxDB ingests data in line protocol v1 and v2. The data_format options allow you to convert data from your exec plugin into line protocol or write directly with line protocol (data_format=influx).
Here is a blog on how to get started writing data to InfluxDB that you might find useful (it includes an exec plugin example)
What does your script do exactly? What service is it monitoring? You might be able to use an existing telegraf plugin already. I would look into this first.
Otherwise you’ll have to modify your script to output data in one of the acceptable data formats (probably outputting line protocol will be the easiest, so you don’t have to convert the data)
And sure thing! That’s what I’m here for I will pass on your thanks!