/*
 * Copyright (C) 2019 IBM, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy ofthe License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specificlanguage governing permissions and
 * limitations under the License.
 *
 */

package main

import (
	aws "github.com/skydive-project/skydive/contrib/exporters/awsflowlogs/mod"
	"github.com/skydive-project/skydive/contrib/exporters/core"
	sa "github.com/skydive-project/skydive/contrib/exporters/secadvisor/mod"
)

func main() {
	core.Main("/etc/skydive/uber.yml")
}

func init() {
	core.TransformerHandlers.Register("awsflowlogs", aws.NewTransform, false)
	core.TransformerHandlers.Register("vpclogs", sa.NewTransform, false)
}

/*
 * Copyright (C) 2019 IBM, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy ofthe License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specificlanguage governing permissions and
 * limitations under the License.
 *
 */

package main

import (
	aws "github.com/skydive-project/skydive/contrib/exporters/awsflowlogs/mod"
	"github.com/skydive-project/skydive/contrib/exporters/core"
	sa "github.com/skydive-project/skydive/contrib/exporters/secadvisor/mod"
)

func main() {
	core.Main("/etc/skydive/allinone.yml")
}

func init() {
	core.TransformerHandlers.Register("awsflowlogs", aws.NewTransform, false)
	core.TransformerHandlers.Register("vpclogs", sa.NewTransform, false)
}

Fix default config file name
contrib/exporters/allinone: Fix default config file name
