AEM AS Cloud Service integration with Splunk | Community
Skip to main content
Level 3
November 19, 2024

AEM AS Cloud Service integration with Splunk

  • November 19, 2024
  • 1 reply
  • 1191 views

Hi Team,

Trying to forward AEM logs from AEM Splunk to our own Splunk with below code 

.config

   dev

       LogForwarding.yaml 

The below code failing in pipeline job 

Error in config kind 'LogForwarding': credentials audit job failed for splunk: Error: splunk audit failed: while posting on server: Post "splunk.com:8088/services/collector/event": dial tcp: lookup splunk.com on  no such host | [credential audit failed] |

 

kind: "LogForwarding"
version: "1"
metadata:
envTypes: ["dev"]
data:
splunk:
default:
enabled: true
host: "splunk.com"
port: "8088"
token: "${{SPLUNK_TOKEN}}"
index: "aem_index"
sourcetype:
- aemaccess
- aemerror
- aemrequest
- aemdispatcher
- aemhttpdaccess
- aemhttpderror
- aemcdn
event:
level: "INFO1"
msg: "[FelixLogListener] Test SPLUNK"
aem_program_id: 1111
aem_tier: author
aem_env_id: 11111
splunk_customer: "true"
aem_env_type: "dev"  

 

Kindly suggest .

How frequent logs will be forward to my own Splunk(its real time or some cron job) 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 21, 2024
Level 3
November 21, 2024

 

Thanks for your update,

Using the same reference and while deploying code with new pipe line job its failing .