Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cctail pulling all the logs even after mentioning the specific log types in the config file #7

Open
shabbir-khan1694 opened this issue Mar 13, 2023 · 0 comments

Comments

@shabbir-khan1694
Copy link

We have created 7 different docker containers for pulling different log types but we could see duplicates in the NR as each container is pulling all the other log types as well rather the ones mentioned in the config file
these are the different log types used by each different containers

"log_types": ["customwarn", "warn"]
"log_types": ["customerror", "customfatal"]
log_types: ["error", "fatal"]
"log_types": ["sysevent", "syslog", "system"]
"log_types": ["service", "jobs"]
"log_types": ["custom"]
log_types: ["custominfo", "info"]

The sample config file of cctail is below::

/ # cat ./log.conf.json
{
"profiles": {
"sfcc": {
"hostname": "ENV_SFCC_HOSTNAME",
"client_id": "ENV_SFCC_CLIENT_ID",
"client_secret": "ENV_SFCC_CLIENT_SECRET",
"polling_interval": 30,
"log_types": ["service", "jobs"]
}
},
"interactive": false,
"fluent": {
"enabled": true
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant