Please help with creating new index for Filebeat

Hello @Elastic Team,

I'm trying to capture Cpu temp logs using Filebeat. Im running a script which captures CPU temp and stores logs in log file, then Filebeat is picking them up and sends to Kibana.
I can only see the temp data in this format, under message filed and i'm not able to create a Gauge

t message {"temperature_data": { "timestamp":"11/19/2019 10:00:01 AM","cpu0":"64.0","cpu1":"64.0","cpu2":"58.0","cpu3":"75.0","vid0":"27.8

How do i create a separate index for temperature ?

Here is the confoguration in filebeat.yml

#-------------------------- Elasticsearch output ------------------------------

Array of hosts to connect to.

hosts: ["Localhost:9200"]

Optional protocol and basic auth credentials.

#protocol: "https"
#username: "elastic"
#password: "changeme"
#index: "filebeat-temp-%{+yyyy.MM.dd}"

  • index: "cputemp-%{+yyyy.MM.dd}"
    message: "temperature_data"
  • index: "filebeat-%{[agent.version]}-%{+yyyy.MM.dd}"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.