Multiple telegraf.conf giving error when place inside in telegraf.d directory

I am running Influxdb 2.0 and telegraf as a docker container. I have defined all the plugins in telegraf and it’s working fine. I have one of the [[processors.enum]] plugin and tested and it’s working fine.
Now, I want to have two telegraf.conf files placed inside the telegraf.d directory as:

/etc/telegraf/telegraf.d/kinesis-telegraf.conf
/etec/telegraf/telegraf.d/enum-telegraf.conf

So, I placed my both telegraf.conf inside the telegraf.d directory and put one main telegraf.conf file in default location /etc/telegraf/telegraf.conf. I put output [[outputs.influxdb_v2]] plugin in the main telegraf.conf file but it’s giving errors.

2021-04-06T08:08:38Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:38Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:39Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:39Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:39Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:40Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:40Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:40Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:41Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:41Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:41Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:42Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:42Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:42Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:45Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:45Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:45Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:49Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:49Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:49Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?
2021-04-06T08:08:56Z I! Starting Telegraf 1.18.0
2021-04-06T08:08:56Z I! Using config file: /etc/telegraf/telegraf.conf
2021-04-06T08:08:56Z E! [telegraf] Error running agent: Error: no inputs found, did you provide a valid config file?

In enum-telegraf.conf below content is prsent:

[[processors.enum]]
  [[processors.enum.mapping]]
    ## Name of the field to map. Globs accepted.
   ## field = "status"
    namepass = "om"
    ## Name of the tag to map. Globs accepted.
     tag = "node"
    ## Destination tag or field to be used for the mapped value.  By default the
    ## source tag or field is used, overwriting the original value.
    dest = "site"
    ## Default value to be used for all values not contained in the mapping
    ## table.  When unset and no match is found, the original field will remain
    ## unmodified and the destination tag or field will not be created.
    # default = 0
    ## Table of mappings
    [processors.enum.mapping.value_mappings]
      0005B951 = "mumbai"
      0005B952 = "madras"

enum-telegraf.conf and kinesis-telegraf.conf I have tested combing two codes in one telegraf.conf file and it’s working fine.