Search
K
🪄

SaaS Setup

Documention to Setup Episilia through SaaS

Prerequisites:

  1. 1.
    A log agent (like Fluent-bit, Fluentd, Logstash) to push logs to Episilia.

What's next

Ready to get started with Episilia?
  1. 1.
    If you don't have one already, create an Episilia account. It's free, forever. - Subscribe to Saas in Plan and Pricing section. - Add Cluster in Dashboard.
  2. 2.
    Once the cluster is LIVE, make a note of LICENSE ID, Client ID, and Cluster name to use in the log agent config.
  3. 3.
    Setup log agent.
  4. 4.
    Use our Search Logs as an easy workflow through all logs, attributes, patterns, live-tail logging, and queries. Add alerts, and query your data.

A sample Fluent-bit Configuration

  • td-agent.conf
[SERVICE]
Flush 5
Daemon off
Log_Level debug
Parsers_File /etc/td-agent-bit/parsers.conf
[INPUT]
Name tail
Path /path-to-log-file/log_file.log
Key message
Path_Key file
[FILTER]
name multiline
match *
multiline.key_content message
multiline.parser python
[FILTER]
Name parser
Match *
Key_Name message
Parser regexp_parser
[FILTER]
Name modify
Match *
Add app_id test
Add tenant_id episilia
[FILTER]
Name lua
Match *
script override_time.lua
call update_time
[OUTPUT]
Name http
Match *
Host ingest-1.episilia.net
Port 80
Header client_id <client-id>
Header clusterName <cluster-name>
Header token <license-key>
URI /ingest
Format json
  • parsers.conf
[PARSER]
Name regexp_parser
Format regex
Regex ^(?<time>\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2}) (?<message>.*)
Time_Key time
Time_Format %Y-%m-%d %H:%M:%S
Time_Keep On
  • override_time.lua
function update_time(tag, timestamp, record)
new_record = record
new_record["time"] = os.date("%Y-%m-%dT%H:%M:%S", timestamp)
return 1, timestamp, new_record
end

User access

Use Manage Users to invite and restrict the access of users. There are two roles provided i.e DevOps and Admin.